Changeset 4473
- Timestamp:
- May 22, 2007, 12:06:03 PM (18 years ago)
- Location:
- anuga_core/source/anuga/abstract_2d_finite_volumes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/test_util.py
r4471 r4473 1330 1330 if __name__ == "__main__": 1331 1331 suite = unittest.makeSuite(Test_Util,'test') 1332 # suite = unittest.makeSuite(Test_Util,'test_store_parameters')1333 runner = unittest.TextTestRunner( verbosity=0)1332 #suite = unittest.makeSuite(Test_Util,'test_get_revision_number') 1333 runner = unittest.TextTestRunner() 1334 1334 runner.run(suite) 1335 1336 1337 1338 -
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r4468 r4473 594 594 # No file available - try using Subversion 595 595 try: 596 fid = os.popen('svn info') 596 # The null stuff is so this section fails quitly. 597 # This could cause the svn info command to fail due to 598 # the redirection being bad on some platforms. 599 # If that occurs then change this code. 600 if sys.platform[0:3] == 'win': 601 fid = os.popen('svn info 2> null') 602 else: 603 fid = os.popen('svn info 2>/dev/null') 597 604 except: 598 605 msg = 'No version info stored and command "svn" is not ' … … 602 609 #print 'Got version from svn' 603 610 version_info = fid.read() 611 #import sys; sys.exit() 604 612 else: 605 613 pass
Note: See TracChangeset
for help on using the changeset viewer.