Skip to content

Commit

Permalink
change. new syntax. forgot that
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Jan 31, 2010
1 parent ccac12c commit c583f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bithug/shell.rb
Expand Up @@ -23,7 +23,7 @@ def initialize(username)
end

def run
unless repo = Bithug::Repository.find(:name, @repository).first
unless repo = Bithug::Repository.find(:name => @repository).first
raise Bithug::UnknownRepositoryError, "Could not find a repository named #{@repository}"
end
repo.check_access_rights(@user, @writeaccess)
Expand Down

0 comments on commit c583f27

Please sign in to comment.