1
0
Fork 0

remove trailing whitespaces etc

This commit is contained in:
Lili (Tlapka) 2021-03-18 14:25:12 +01:00
parent 91eb876a83
commit b02028036f
1 changed files with 16 additions and 16 deletions

View File

@ -69,7 +69,7 @@ class Game:
return False return False
self.game_in_progress = True self.game_in_progress = True
self.level = 1 self.level = 1
self.level_log.append("level1") # add level 1 to log self.level_log.append("level1") # add level 1 to log
start_time = time.time() start_time = time.time()
subprocess.run(["vagrant", "up"], cwd=self.game_directory, subprocess.run(["vagrant", "up"], cwd=self.game_directory,
env=dict(os.environ, ANSIBLE_ARGS='--tags \"setup\"')) env=dict(os.environ, ANSIBLE_ARGS='--tags \"setup\"'))
@ -204,7 +204,7 @@ class Game:
if (not self.game_in_progress and not self.game_finished): if (not self.game_in_progress and not self.game_finished):
print("Game is not yet started.") print("Game is not yet started.")
else: else:
if (self.game_in_progress): #in progress implies not finished if (self.game_in_progress): # in progress implies not finished
if (self.branch): if (self.branch):
print("Game in progress. Level:{} Branch:{}".format(self.level, self.branch)) print("Game in progress. Level:{} Branch:{}".format(self.level, self.branch))
else: else: