- Timestamp:
- 08/24/06 14:58:57 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/asap_update_data
r1180 r1183 4 4 import tarfile 5 5 6 import asap7 6 import shutil 8 7 … … 21 20 md5new = md5file.readlines()[0].split()[0] 22 21 23 # get asap module path24 asapbase = asap.__path__[0]25 22 # use ASAPDATA if set - allows non-root update 26 23 if os.environ.has_key("ASAPDATA"): 27 24 asapbase = os.environ["ASAPDATA"] 28 25 else: 26 import asap 27 # get asap module path 28 asapbase = asap.__path__[0] 29 29 try: 30 30 fl = os.path.join(asapbase, name+".md5sum")
Note:
See TracChangeset
for help on using the changeset viewer.