Tutorial 1-initial-commit.txt: should also import parse_timezone
authorRicardo Salveti <ricardo.salveti@openbossa.org>
Tue, 6 Oct 2009 13:47:16 +0000 (15:47 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 6 Oct 2009 13:47:16 +0000 (15:47 +0200)
docs/tutorial/1-initial-commit.txt

index f0a71a7599bee987f1999bcf5de1674afd449df9..608973bfcbff6c7f11cd5400886d033a6a5e3e13 100644 (file)
@@ -54,7 +54,7 @@ permissions. You can hardcode them or you can use the ``stat`` module.
 The tree state of our repository still needs to be placed in time. That's the
 job of the commit::
 
-  >>> from dulwich.objects import Commit
+  >>> from dulwich.objects import Commit, parse_timezone
   >>> from time import time
   >>> commit = Commit()
   >>> commit.tree = tree.id