git.samba.org
/
jelmer
/
dulwich-libgit2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a659f
)
Tutorial 1-initial-commit.txt: should also import parse_timezone
author
Ricardo Salveti
<ricardo.salveti@openbossa.org>
Tue, 6 Oct 2009 13:47:16 +0000
(15:47 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 6 Oct 2009 13:47:16 +0000
(15:47 +0200)
docs/tutorial/1-initial-commit.txt
patch
|
blob
|
history
diff --git
a/docs/tutorial/1-initial-commit.txt
b/docs/tutorial/1-initial-commit.txt
index f0a71a7599bee987f1999bcf5de1674afd449df9..608973bfcbff6c7f11cd5400886d033a6a5e3e13 100644
(file)
--- a/
docs/tutorial/1-initial-commit.txt
+++ b/
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
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