Changeset 940cac0 in mainline for tools/config.py


Ignore:
Timestamp:
2005-12-07T17:17:20Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4acac843
Parents:
54257ba
Message:

better way of placing revision, timestamp and arch in banner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config.py

    r54257ba r940cac0  
    66import os
    77import re
     8import commands
    89
    910INPUT = 'kernel.config'
     
    377378            # Set title of the dialog window
    378379            dlg.set_title(line[2:].strip())
    379        
     380
     381    outf.write('\n')
     382    outf.write('REVISION=%s\n' % commands.getoutput('svnversion . 2> /dev/null'))
     383    outf.write('TIMESTAMP=%s\n' % commands.getoutput('date "+%Y-%m-%d %H:%M:%S"'))
    380384    outf.close()
    381385    f.close()
Note: See TracChangeset for help on using the changeset viewer.