[oe-commits] Chris Larson : gitver: add missing import
git version control
git at git.openembedded.org
Thu Oct 14 00:37:33 UTC 2010
Module: openembedded.git
Branch: master
Commit: be68ca616a9a0c6537b6afff6743c9a099241141
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=be68ca616a9a0c6537b6afff6743c9a099241141
Author: Chris Larson <chris_larson at mentor.com>
Date: Wed Oct 13 17:35:04 2010 -0700
gitver: add missing import
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
classes/gitver.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/gitver.bbclass b/classes/gitver.bbclass
index 2efb3f1..de182a0 100644
--- a/classes/gitver.bbclass
+++ b/classes/gitver.bbclass
@@ -6,6 +6,7 @@
# This is most useful in concert with srctree.bbclass.
def git_drop_tag_prefix(version):
+ import re
if re.match("v\d", version):
return version[1:]
else:
More information about the Openembedded-commits
mailing list