Skip to content

Commit

Permalink
rm date from version string
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Jun 2, 2015
1 parent 5ce3d26 commit e9ca3e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion voseq/voseq/settings/base.py
Expand Up @@ -10,6 +10,8 @@

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
import re

BASE_DIR = os.path.dirname(os.path.dirname(__file__))


Expand Down Expand Up @@ -168,7 +170,7 @@ def get_version():
if 'xx' in line:
continue
elif 'Version' in line or 'release' in line.lower():
return line
return re.sub('\(.+\)', '', line)
else:
return 'xyz'
VERSION = get_version()
Expand Down

0 comments on commit e9ca3e6

Please sign in to comment.