Ticket #9262: 9107.patch
File 9107.patch, 628 bytes (added by , 16 years ago) |
---|
-
django/utils/version.py
20 20 entries_path = '%s/.svn/entries' % path 21 21 22 22 if os.path.exists(entries_path): 23 entries = open(entries_path, 'r').read() 23 f = open(entries_path, 'r') 24 entries = f.read() 25 f.close() 26 24 27 # Versions >= 7 of the entries file are flat text. The first line is 25 28 # the version number. The next set of digits after 'dir' is the revision. 26 29 if re.match('(\d+)', entries):