git://developer.intra2net.com
/
python-delta-tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4ac6d33
)
fix typo error, variable should be named beginning_size
author
Eduardo Robles Elvira
<edulix@wadobo.com>
Wed, 19 Mar 2014 16:50:18 +0000 (17:50 +0100)
committer
Eduardo Robles Elvira
<edulix@wadobo.com>
Wed, 19 Mar 2014 16:50:18 +0000 (17:50 +0100)
deltatar/deltatar.py
patch
|
blob
|
blame
|
history
diff --git
a/deltatar/deltatar.py
b/deltatar/deltatar.py
index
2c1ded7
..
fc7d518
100644
(file)
--- a/
deltatar/deltatar.py
+++ b/
deltatar/deltatar.py
@@
-381,9
+381,9
@@
class DeltaTar(object):
queue = [source_path]
if strip_base_dir:
- beginging_size = len(source_path)
+ beginning_size = len(source_path)
else:
- beginging_size = 0
+ beginning_size = 0
while queue:
cur_path = queue.pop(0)
@@
-396,7
+396,7
@@
class DeltaTar(object):
status = self.filter_path(child, source_path, is_dir)
if status == MATCH:
- yield child[beginging_size:]
+ yield child[beginning_size:]
if is_dir and (status == MATCH or status == PARENT_MATCH):
queue.append(child)