source: cmtpacman/HEAD/scripts/tcmt.py @ 695

Last change on this file since 695 was 53, checked in by arnault, 19 years ago

From CVS to SVN

File size: 510 bytes
Line 
1
2# -*- coding: iso-8859-1 -*-
3
4import os
5import sys
6import string
7import popen2
8import stat
9import re
10from os import path
11#from optparse import OptionParser
12import tempfile
13import cmt
14import time
15
16#----------------------------------------------------
17# Main
18#----------------------------------------------------
19def main ():
20
21    print time.strftime ('%c')
22
23    pwd = os.getcwd ()
24
25    CMT = cmt.cmt ()
26
27    pack = CMT.macro_value ('package')
28    print 'package=' + pack
29
30if __name__ == '__main__':
31    main()
Note: See TracBrowser for help on using the repository browser.