aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2009-02-24 20:40:45 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2009-02-24 20:40:45 +0530
commit50dd2b35f748280dede787973a8b4feed4929cbc (patch)
treec1418b614e4f58ff1fc367b95befd17829d5ef26
parentMinor bugfixes in setup-master.py (diff)
downloadautotua-50dd2b35f748280dede787973a8b4feed4929cbc.tar.gz
autotua-50dd2b35f748280dede787973a8b4feed4929cbc.tar.bz2
autotua-50dd2b35f748280dede787973a8b4feed4929cbc.zip
Let people edit the current status of master-install manually
-rwxr-xr-xmaster/setup-master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/master/setup-master.py b/master/setup-master.py
index 8ad26a3..5fb4880 100755
--- a/master/setup-master.py
+++ b/master/setup-master.py
@@ -73,7 +73,7 @@ def resume_last_stage():
stages = [STAGE]
else:
with open(osp.join(PROJPATH, '.last_stage'), 'r') as last_stage:
- STAGE = last_stage.read()
+ STAGE = last_stage.read().rstrip('\n')
# If we're at the last stage
if STAGE == STAGES[-1]:
all_done()