streamline var assignment

unstable
Nathan Einwechter 2013-04-18 17:04:03 -04:00
parent d9187056c8
commit c758831962
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ class Db
workspace = framework.db.find_workspace(old)
old_is_active = true if framework.db.workspace == workspace
recreate_default = true if workspace.default?
old_is_active = (framework.db.workspace == workspace)
recreate_default = workspace.default?
if workspace.nil?
print_error("Workspace not found: #{name}")