Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #17942

Closed
Open
Opened Dec 27, 2015 by toralf@toralf

stem-1.4.1 doesn't like double-space in exit policy

ExitPolicy reject  *:*

gives

    policy = controller.get_exit_policy()
  File "/usr/lib64/python3.4/site-packages/stem/control.py", line 414, in wrapped
    raise exc
  File "/usr/lib64/python3.4/site-packages/stem/control.py", line 409, in wrapped
    return func(self, *args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/stem/control.py", line 1177, in get_exit_policy
    config_policy = stem.exit_policy.get_config_policy(policy, self.get_info('address', None))
  File "/usr/lib64/python3.4/site-packages/stem/exit_policy.py", line 154, in get_config_policy
    result.append(ExitPolicyRule(rule))
  File "/usr/lib64/python3.4/site-packages/stem/exit_policy.py", line 655, in __init__
    raise ValueError('An exit policy should have a space separating its accept/reject from the exit pattern: %s' % rule)
ValueError: An exit policy should have a space separating its accept/reject from the exit pattern: reject  *:
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#17942