Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undefined variable, and break after success #216

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rpc/open_xdatachannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# must do this before importing pyroute2
logging.basicConfig(level=logging.DEBUG)


parser = configargparse.ArgumentParser(
description='Hacky tool to bring up XMM7x60 modem',
default_config_files=[
Expand Down Expand Up @@ -237,4 +236,5 @@ def get_connections():
prop_iface.Set("org.freedesktop.NetworkManager.Device",
"Managed", dbus.Boolean(1))

manager.ActivateConnection(connection_path, devpath, "/")
manager.ActivateConnection(connection_path, devpath, "/")
break