[IMP]:closed file pointer

bzr revid: nch@tinyerp.com-20090611122026-vxh5u5qmfd3etzv8
This commit is contained in:
Naresh Choksy
2009-06-11 17:50:26 +05:30
parent d111cda633
commit d64ccbebe9
+1
View File
@@ -510,6 +510,7 @@ GNU Public Licence.
if '.bzr' in os.listdir((os.getcwd()[0:-3])):
fp = open(os.path.join(os.getcwd()[0:-3],'.bzr/branch/last-revision'))
rev_no = fp.read()
fp.close()
else:
rev_no = 'Bazaar Not Installed !'
except: