git p4: fix labelDetails typo in exception
authorPete Wyckoff <pw@padd.com>
Fri, 23 Nov 2012 22:35:38 +0000 (17:35 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 19:01:04 +0000 (11:01 -0800)
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py

index cb1ec8d66d659ee6c239701c5399e609b01a7478..9712082a4facfec19cb2b687ce3d877c22938f6f 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -2406,7 +2406,7 @@ class P4Sync(Command, P4UserMap):
                     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))