Skip to content

Commit

Permalink
Only sync blobs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed Dec 29, 2012
1 parent 34a6743 commit cbfd6bf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions groundstation/station.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ def __init__(self, path, identity):
self.gizmo_factory = GizmoFactory(self, identity)
self.identity_cache = {}

@staticmethod
def _build_objects(db, dirname, files):
def _build_objects(self, db, dirname, files):
cur = os.path.basename(dirname)
if len(cur) == 2:
for file in files:
db.append(u"".join((cur, file)))
objname = u"".join((cur, file))
if isinstance(self.repo[objname], pygit2.Blob):
db.append(objname)

def objects(self):
db = []
Expand Down

0 comments on commit cbfd6bf

Please sign in to comment.