Changeset 32904 for trunk/ippdor/deployment/deploy.py
- Timestamp:
- Dec 8, 2011, 3:48:39 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippdor/deployment/deploy.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdor/deployment/deploy.py
r32897 r32904 12 12 13 13 if __name__ == '__main__': 14 if os.getenv('PYTHONPATH') is not None: 15 print 'Error: Unset PYTHONPATH environment variable to run this program' 16 sys.exit(1) 14 17 USAGE = """usage: %prog [options] <ipp site definition file> 15 18 … … 78 81 LOGGER.info('Cleaning temporary site definitions') 79 82 os.remove('.tmp_site/IppSite.py') 80 os.remove('.tmp_site/IppSite.pyc') 83 try: 84 os.remove('.tmp_site/IppSite.pyc') 85 except OSError: 86 pass # Ignore if not compiled 81 87 os.remove('.tmp_site/__init__.py') 82 88 os.rmdir('.tmp_site')
Note:
See TracChangeset
for help on using the changeset viewer.
