Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #17942

Closed
Open
Created 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
Time tracking