Skip to content

Commit 4f1ac29

Browse files
committed
Fixed error due to a bad merge on the update script of the game dev toolset shelf.
1 parent 9c41d38 commit 4f1ac29

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

toolbar/game_development_toolset.shelf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,8 @@ class GameDevelopmentUpdater(object):
180180
def get_releases(self):
181181
response = urllib.urlopen(REPO_URL + "/releases")
182182
data = response.read()
183-
if ( data == "" )
183+
if ( data == "" ):
184184
raise ValueError("Unable to get the release list")
185-
print data
186185
j_data = json.loads(data.decode('utf-8'))
187186
for release in j_data:
188187
self.releases.append(release["tag_name"])
@@ -202,9 +201,8 @@ class GameDevelopmentUpdater(object):
202201
def get_download_path(self, version, branch):
203202
response = urllib.urlopen(REPO_URL + "/releases/tags/" + version)
204203
data = response.read()
205-
if ( data == "" )
204+
if ( data == "" ):
206205
raise ValueError("Unable to get the release tags")
207-
print data
208206
j_data = json.loads(data.decode('utf-8'))
209207
for asset in j_data["assets"]:
210208
if branch in os.path.basename(asset["browser_download_url"]):

0 commit comments

Comments
 (0)