Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Delete a few print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi Sadeghi committed Nov 25, 2015
1 parent ce84c07 commit 4ad1885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion sqmpy/job/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def send_state_change_email(job_id, owner_id, old_state, new_state,

owner_email = None
if owner_id:
print security_services.get_user(owner_id).id
owner_email = security_services.get_user(owner_id).email
elif 'ADMIN_EMAIL' in mail_config:
owner_email = mail_config.get('ADMIN_EMAIL')
Expand Down
4 changes: 2 additions & 2 deletions sqmpy/job/saga_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ def _make_relative_path(base_path, full_path):
if os.path.isabs(rel_path):
rel_path = rel_path[1:]
return rel_path
print 'No relative path'


def _traverse_directory(directory,
Expand Down Expand Up @@ -477,7 +476,8 @@ def _traverse_directory(directory,
collected_files,
collected_directories)
else:
print('Omitting non-file and non-directory entry: %s' % entry)
flask.current_app.logger.debug(
'Omitting non-file and non-directory entry: %s' % entry)
# Return collected information
return collected_files, collected_directories

Expand Down

0 comments on commit 4ad1885

Please sign in to comment.