Skip to content
This repository was archived by the owner on Nov 28, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cranserver/lib/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def __init__(self, directory):
self.directory = directory

def __iter__(self):
# TODO When iterating, you shouldn't include the PACKAGES file
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

created #72

return iter(os.listdir(self.directory))

def __len__(self):
Expand Down
1 change: 0 additions & 1 deletion cranserver/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
if STORAGE_BACKEND == 'filesystem':
from cranserver.lib.storage import FileStorage
fsloc = os.getenv('CRANSERVER_FS_LOC', '.')
# TODO Make ./src/contrib directory if it doesn't exist
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

created #73

src_contrib_storage = FileStorage(Path(fsloc) / 'src/contrib')
elif STORAGE_BACKEND == 'memory':
src_contrib_storage = InMemoryStorage()
Expand Down