add .gitignore file; modify version handling: ignore $Id$ property.

This commit is contained in:
Helmut Merz 2011-05-03 13:35:19 +02:00
parent 24e552ee9a
commit 56773a72c3
3 changed files with 8 additions and 6 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.pyc
ajax/dojo/dojo

View file

@ -20,7 +20,7 @@
Collect version information from different packages.
"""
revision = '$Id$'
revision = '$Id: version.py 3014 2008-11-28 10:56:14Z helmutm $'
version = '0.4'
package = 'cybertools.util.version'

View file

@ -16,8 +16,8 @@ $Id$
>>> v.short
'0.4'
>>> v = versions.get('foo')
>>> v
>>> #v = versions.get('foo')
>>> #v
foo 0.0-3014
>>> print v
>>> #print v
0.0-3014