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:
4eedd56
)
Remove pointless assertion - we'll get an exception in any case if the pack doesn...
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 12 Feb 2010 00:10:20 +0000
(
01:10
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Fri, 12 Feb 2010 00:10:20 +0000
(
01:10
+0100)
dulwich/pack.py
patch
|
blob
|
history
diff --git
a/dulwich/pack.py
b/dulwich/pack.py
index f7465c65128317770893352333320fc2dcd6664f..8371718e5ddc39701cddf660861ddaad57a27583 100644
(file)
--- a/
dulwich/pack.py
+++ b/
dulwich/pack.py
@@
-494,7
+494,6
@@
class PackData(object):
mmap implementation is flawed.
"""
self._filename = filename
- assert os.path.exists(filename), "%s is not a packfile" % filename
self._size = os.path.getsize(filename)
self._header_size = 12
assert self._size >= self._header_size, "%s is too small for a packfile (%d < %d)" % (filename, self._size, self._header_size)