mirror of https://gitlab.com/bashrc2/epicyon
Include sourceId in debug
parent
4a9ec1d3fb
commit
ac248a9783
|
@ -406,7 +406,7 @@ def sendBookmarkViaServer(baseDir: str, session,
|
|||
personCache,
|
||||
projectVersion, httpPrefix,
|
||||
nickname, domain,
|
||||
postToBox, 52594)
|
||||
postToBox, 58391)
|
||||
|
||||
if not inboxUrl:
|
||||
if debug:
|
||||
|
|
2
pgp.py
2
pgp.py
|
@ -580,7 +580,7 @@ def pgpPublicKeyUpload(baseDir: str, session,
|
|||
displayName) = getPersonBox(signingPrivateKeyPem, originDomain,
|
||||
baseDir, session, wfRequest, personCache,
|
||||
__version__, httpPrefix, nickname,
|
||||
domain, postToBox, 52025)
|
||||
domain, postToBox, 35725)
|
||||
|
||||
if not inboxUrl:
|
||||
if debug:
|
||||
|
|
8
posts.py
8
posts.py
|
@ -294,7 +294,8 @@ def _getPersonBoxActor(session, baseDir: str, actor: str,
|
|||
debug: bool, projectVersion: str,
|
||||
httpPrefix: str, domain: str,
|
||||
personCache: {},
|
||||
signingPrivateKeyPem: str) -> {}:
|
||||
signingPrivateKeyPem: str,
|
||||
sourceId: int) -> {}:
|
||||
"""Returns the actor json for the given actor url
|
||||
"""
|
||||
personJson = \
|
||||
|
@ -318,7 +319,7 @@ def _getPersonBoxActor(session, baseDir: str, actor: str,
|
|||
debug, projectVersion, httpPrefix, domain)
|
||||
if personJson:
|
||||
return personJson
|
||||
print('Unable to get actor for ' + actor)
|
||||
print('Unable to get actor for ' + actor + ' ' + str(sourceId))
|
||||
if not signingPrivateKeyPem:
|
||||
print('No signing key provided when getting actor')
|
||||
return None
|
||||
|
@ -363,7 +364,8 @@ def getPersonBox(signingPrivateKeyPem: str, originDomain: str,
|
|||
profileStr, asHeader,
|
||||
debug, projectVersion,
|
||||
httpPrefix, originDomain,
|
||||
personCache, signingPrivateKeyPem)
|
||||
personCache, signingPrivateKeyPem,
|
||||
sourceId)
|
||||
if not personJson:
|
||||
return None, None, None, None, None, None, None
|
||||
|
||||
|
|
|
@ -848,7 +848,7 @@ def sendWantedViaServer(baseDir, session,
|
|||
personCache, projectVersion,
|
||||
httpPrefix, fromNickname,
|
||||
fromDomain, postToBox,
|
||||
83653)
|
||||
23653)
|
||||
|
||||
if not inboxUrl:
|
||||
if debug:
|
||||
|
@ -953,7 +953,7 @@ def sendUndoWantedViaServer(baseDir: str, session,
|
|||
personCache, projectVersion,
|
||||
httpPrefix, fromNickname,
|
||||
fromDomain, postToBox,
|
||||
12663)
|
||||
12693)
|
||||
|
||||
if not inboxUrl:
|
||||
if debug:
|
||||
|
|
Loading…
Reference in New Issue