Remove unused variable in repository import

This commit is contained in:
Douwe Maan
2015-11-18 12:02:09 +01:00
parent 5036d8d5d5
commit 5e8ddd3c2d
+1 -1
View File
@@ -16,7 +16,7 @@ class RepositoryImportWorker
end
else
begin
import_result = gitlab_shell.import_repository(project.path_with_namespace, project.import_url)
gitlab_shell.import_repository(project.path_with_namespace, project.import_url)
rescue Gitlab::Shell::Error => e
project.update(import_error: e.message)
project.import_fail