Преглед на файлове

Tutorial 1-initial-commit.txt: should also import parse_timezone

Ricardo Salveti преди 15 години
родител
ревизия
9ef6fddeb2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/tutorial/1-initial-commit.txt

+ 1 - 1
docs/tutorial/1-initial-commit.txt

@@ -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
 The tree state of our repository still needs to be placed in time. That's the
 job of the commit::
 job of the commit::
 
 
-  >>> from dulwich.objects import Commit
+  >>> from dulwich.objects import Commit, parse_timezone
   >>> from time import time
   >>> from time import time
   >>> commit = Commit()
   >>> commit = Commit()
   >>> commit.tree = tree.id
   >>> commit.tree = tree.id