git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 5/6] git p4: fix labelDetails typo in exception

From
PWPete Wyckoff <pw@padd.com>
Date
Nov 23, 2012, 22:35 UTC
Message-ID
<1353710139-16207-6-git-send-email-pw@padd.com>
In-Reply-To
<1353710139-16207-1-git-send-email-pw@padd.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
---
 git-p4.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-p4.py b/git-p4.py
index cb1ec8d..9712082 100755
--- 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))
-- 
1.8.0.276.gd9397fc
Previous: Pete WyckoffNext: Pete Wyckoff
Message 6 of 7 in “git p4 error handling”
  1. 0/6 git p4 error handlingPete Wyckoff, Nov 23, 2012
  2. 1/6 git p4: catch p4 describe errorsPete Wyckoff, Nov 23, 2012
  3. 2/6 git p4: handle servers without move supportPete Wyckoff, Nov 23, 2012
  4. 3/6 git p4: catch p4 errors when streaming file contentsPete Wyckoff, Nov 23, 2012
  5. 4/6 git p4 test: display unresolvable host errorPete Wyckoff, Nov 23, 2012
  6. 5/6 git p4: fix labelDetails typo in exceptionPete Wyckoff, Nov 23, 2012
  7. 6/6 git p4: remove unneeded cmd initializationPete Wyckoff, Nov 23, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.