add .gitignore file; modify version handling: ignore $Id$ property.
This commit is contained in:
parent
24e552ee9a
commit
56773a72c3
3 changed files with 8 additions and 6 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*.pyc
|
||||||
|
ajax/dojo/dojo
|
|
@ -20,7 +20,7 @@
|
||||||
Collect version information from different packages.
|
Collect version information from different packages.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
revision = '$Id$'
|
revision = '$Id: version.py 3014 2008-11-28 10:56:14Z helmutm $'
|
||||||
version = '0.4'
|
version = '0.4'
|
||||||
package = 'cybertools.util.version'
|
package = 'cybertools.util.version'
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ $Id$
|
||||||
>>> v.short
|
>>> v.short
|
||||||
'0.4'
|
'0.4'
|
||||||
|
|
||||||
>>> v = versions.get('foo')
|
>>> #v = versions.get('foo')
|
||||||
>>> v
|
>>> #v
|
||||||
foo 0.0-3014
|
foo 0.0-3014
|
||||||
>>> print v
|
>>> #print v
|
||||||
0.0-3014
|
0.0-3014
|
||||||
|
|
Loading…
Add table
Reference in a new issue