git p4: fix labelDetails typo in exception
[gitweb.git] / git-p4.py
index cb1ec8d66d659ee6c239701c5399e609b01a7478..9712082a4facfec19cb2b687ce3d877c22938f6f 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -2406,7 +2406,7 @@ def importP4Labels(self, stream, p4Labels):
                     try:
                         tmwhen = time.strptime(labelDetails['Update'], "%Y/%m/%d %H:%M:%S")
                     except ValueError:
-                        print "Could not convert label time %s" % labelDetail['Update']
+                        print "Could not convert label time %s" % labelDetails['Update']
                         tmwhen = 1
 
                     when = int(time.mktime(tmwhen))