[tor-bugs] #24744 [Internal Services/Service - trac]: ValueError: invalid literal for int() with base 10: '$24207'
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jan 21 18:14:31 UTC 2018
#24744: ValueError: invalid literal for int() with base 10: '$24207'
----------------------------------------------+---------------------
Reporter: cypherpunks | Owner: qbi
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Internal Services/Service - trac | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
----------------------------------------------+---------------------
Comment (by randolf):
{{{
pid = int(ticket.values.get('parent').lstrip('#'))
}}}
The above one is showing error because, it can't strip the left character
with '#' as parameter, but it would work if it is like below
{{{
pid = int(ticket.values.get('parent').lstrip('$'))
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24744#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list