Skip to content

Commit

Permalink
Update to YORM 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Apr 14, 2016
1 parent 193c2e6 commit d550db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions gitman/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@yorm.attr(location=String)
@yorm.attr(sources=SortedList.of_type(Source))
@yorm.attr(sources_locked=SortedList.of_type(Source))
@yorm.sync("{self.root}/{self.filename}")
@yorm.sync("{self.root}/{self.filename}", auto_save=False)
class Config:
"""A dictionary of dependency configuration options."""

Expand Down Expand Up @@ -139,7 +139,8 @@ def lock_deps(self, *names, obey_existing=True):
shell.cd(self.location_path, _show=False)

if count:
yorm.update_file(self)
yorm.save(self)

return count

def uninstall_deps(self):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YORM ~= 0.7.2
YORM ~= 0.8
sh ~= 1.11

0 comments on commit d550db3

Please sign in to comment.