Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-04-04 10:57:52 +0300
committerJames Lopez <james@jameslopez.es>2016-04-04 10:57:52 +0300
commitef85c510fa24a0deec6f680f9226dccd937a7bbe (patch)
treeeae410409ed87c07d73cbdfb5be83184a63a0151 /lib/gitlab/fogbugz_import
parent43ee65e173cbb4f846c118c531f635dc0f8602ac (diff)
corrected a couple of based on MR review
Diffstat (limited to 'lib/gitlab/fogbugz_import')
-rw-r--r--lib/gitlab/fogbugz_import/importer.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/fogbugz_import/importer.rb b/lib/gitlab/fogbugz_import/importer.rb
index fffeb66ce26..5c1c1c4865a 100644
--- a/lib/gitlab/fogbugz_import/importer.rb
+++ b/lib/gitlab/fogbugz_import/importer.rb
@@ -8,7 +8,7 @@ module Gitlab
import_data = project.import_data.try(:data)
repo_data = import_data['repo'] if import_data
- if defined?(repo_data)
+ if repo_data
@repo = FogbugzImport::Repository.new(repo_data)
@known_labels = Set.new
else
@@ -18,7 +18,6 @@ module Gitlab
def execute
return true unless repo.valid?
- Rails.logger.error import_data_credentials.inspect
client = Gitlab::FogbugzImport::Client.new(token: import_data_credentials['fb_session']['token'], uri: import_data_credentials['fb_session']['uri'])
@cases = client.cases(@repo.id.to_i)