[Pkg-owncloud-commits] [python-owncloud] 33/33: get rid of the fancy git update version.py

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Nov 22 01:49:49 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch upstream
in repository python-owncloud.

commit 2d39026c1e5df3bb3269b459b6b3cf0331c5d9ce
Author: hefee <hefee at netzguerilla.net>
Date:   Fri Nov 22 02:40:59 2013 +0100

    get rid of the fancy git update version.py
---
 csync/version.py |    2 +-
 pre-commit       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/csync/version.py b/csync/version.py
index d49bba1..0687911 100644
--- a/csync/version.py
+++ b/csync/version.py
@@ -125,7 +125,7 @@ class gitVersion(ver):
 #else:
 #    version = ver(os.path.join(BASE_DIR, 'version.dat'))
 
-version = gitVersion(verfile)
+version = ver(verfile)
 
 if __name__ == '__main__':
 	print 'Testing version.'
diff --git a/pre-commit b/pre-commit
index a6df5c2..cc17796 100755
--- a/pre-commit
+++ b/pre-commit
@@ -8,4 +8,4 @@
 # To enable this hook, rename this file to "pre-commit".
 
 #set the version
-python -c 'from csync import version; version.version.asHead'
+python -c 'from csync.version import gitVersion,verfile; gitVersion(verfile).setup()'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/python-owncloud.git



More information about the Pkg-owncloud-commits mailing list