Skip to content

Commit ea9ed21

Browse files
committed
more debug
1 parent 4c4731b commit ea9ed21

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

meeseeksdev/meeseeksbox/utils.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ def _build_auth_id_mapping(self):
170170
self._update_installation(installation)
171171

172172
def _update_installation(self, installation):
173-
print("Updating installations")
173+
print("Updating installations", installation)
174174
iid = installation["id"]
175-
print("... making a session")
175+
print("... making a session", iid)
176176
session = self.session(iid)
177177
try:
178178
# Make sure we get all pages.
@@ -181,6 +181,12 @@ def _update_installation(self, installation):
181181
res = session.ghrequest("GET", url)
182182
repositories = res.json()
183183
for repo in repositories["repositories"]:
184+
print(
185+
"Mapping repo to installation:",
186+
repo["full_name"],
187+
repo["owner"]["login"],
188+
iid,
189+
)
184190
self.idmap[repo["full_name"]] = iid
185191
self._org_idmap[repo["owner"]["login"]] = iid
186192
if "next" in res.links:

runtime.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.10.8
1+
python-3.10.14

0 commit comments

Comments
 (0)