Skip to content

Commit

Permalink
Merge pull request #51 from kushaldas/sync-0.6-release
Browse files Browse the repository at this point in the history
Sync 0.6 release
  • Loading branch information
sayanchowdhury committed Oct 26, 2016
2 parents 16ef71e + 622b99d commit c049038
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions autocloud_job.py
Expand Up @@ -90,11 +90,14 @@ def create_result_text(out):
"""
:param out: Output text from the command.
"""
result_filename = None
lines = out.splitlines()
for line in lines:
if line.startswith('Result file at:'):
result_filename = line.split(' ')[1]

if not result_filename: # In case no result file.
return "NO RESULT FILE."
result_filename = result_filename.strip()
if os.path.exists(result_filename):
new_content = ''
Expand Down
2 changes: 0 additions & 2 deletions createdb.py
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from autocloud import models

models.create_tables()

0 comments on commit c049038

Please sign in to comment.