Skip to content

Commit e1d37f2

Browse files
authored
Merge pull request #60 from pndaproject/debug-tidy-up
Debug tidy up
2 parents bf33949 + 6e20fca commit e1d37f2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

api/src/main/resources/application_creator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def create_application(self, package_data_path, package_metadata, application_na
5959
except KeyError:
6060
raise FailedCreation('User %s does not exist. Verify that this user account exists on the machine running the deployment manager.' % user_name)
6161

62-
print 'done'
6362
stage_path = self._stage_package(package_data_path)
6463

6564
# create each class of components in the package, aggregating any
@@ -156,7 +155,7 @@ def get_application_runtime_details(self, application_name, application_create_d
156155

157156
def _load_creator(self, component_type):
158157

159-
print "_load_creator", component_type
158+
logging.debug("_load_creator %s", component_type)
160159

161160
creator = self._component_creators.get(component_type)
162161

api/src/main/resources/plugins/oozie.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,4 @@ def _start_oozie(self, job_id, oozie_user):
213213
def _stop_oozie(self, job_id, oozie_user):
214214
logging.debug("_stop_oozie: %s", job_id)
215215
oozie_url = '%s/v1/job/%s?action=suspend&user.name=%s' % (self._environment['oozie_uri'], job_id, oozie_user)
216-
print oozie_url
217216
requests.put(oozie_url)

0 commit comments

Comments
 (0)