Skip to content

Commit 541e661

Browse files
committed
Fixed error due to a bad merge on the update script of the game dev toolset shelf.
1 parent d9e5905 commit 541e661

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

toolbar/game_development_toolset.shelf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class UpdateDialog(QDialog):
131131
self.uninstallButton.clicked.connect(self.on_uninstallbtn_press)
132132
layout = QVBoxLayout()
133133
134-
layout.addWidget(installed_group)
134+
layout.addWidget(installed_group)
135135
layout.addWidget(change_group)
136136
137137
layout.addWidget(spacer)
@@ -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)