From c583f2706023e8a4e3475b86b25baf28fb656d53 Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Mon, 1 Feb 2010 00:03:35 +0100 Subject: [PATCH] change. new syntax. forgot that --- lib/bithug/shell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bithug/shell.rb b/lib/bithug/shell.rb index 8ce1f6f..b09eb7f 100644 --- a/lib/bithug/shell.rb +++ b/lib/bithug/shell.rb @@ -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)