Skip to content
Browse files

Whitespace

  • Loading branch information...
1 parent 76103cc commit e25b022c0aec5edbba6a25158635eef40a9b09b9 @seveas committed
Showing with 7 additions and 7 deletions.
  1. +1 −1 COPYING
  2. +1 −1 README
  3. +2 −2 docs/index.rst
  4. +1 −1 examples/activate_connection.py
  5. +1 −1 examples/openvpn_over_ssh.py
  6. +1 −1 n-m
View
2 COPYING
@@ -1,4 +1,4 @@
-python-networkmanager - Easy communication with NetworkManager
+python-networkmanager - Easy communication with NetworkManager
Copyright (C) 2011 Dennis Kaarsemaker <dennis@kaarsemaker.net>
This program is free software: you can redistribute it and/or modify
View
2 README
@@ -1,4 +1,4 @@
-python-networkmanager Easy communication with NetworkManager
+python-networkmanager Easy communication with NetworkManager
============================================================
python-networkmanager wraps NetworkManagers D-Bus interface so you can be less
View
4 docs/index.rst
@@ -13,7 +13,7 @@ As of version 0.9.2, python-networkmanager also ships a command-line utility
called n-m, which allows you to manipulate NetworkManager's state from the
command line.
-:mod:`NetworkManager` -- Easy communication with NetworkManager
+:mod:`NetworkManager` -- Easy communication with NetworkManager
---------------------------------------------------------------
.. module:: NetworkManager
:platform: Linux systems with NetworkManager 0.90
@@ -41,7 +41,7 @@ features to standard D-Bus interfaces:
* All D-Bus properties are exposed as python properties
* Return values are automatically unwrapped (so no more :data:`dbus.String`)
* Object paths in return values are automatically replaced with proxy objects,
- so you don't need to do that manually
+ so you don't need to do that manually
* ...and vice versa when sending
* And also when receiving signals
View
2 examples/activate_connection.py
@@ -27,7 +27,7 @@
'gsm': NetworkManager.NM_DEVICE_TYPE_MODEM,
}.get(ctype,ctype)
devices = NetworkManager.NetworkManager.GetDevices()
-
+
for dev in devices:
if dev.DeviceType == dtype and dev.State == NetworkManager.NM_DEVICE_STATE_DISCONNECTED:
break
View
2 examples/openvpn_over_ssh.py
@@ -13,7 +13,7 @@
VPN_NAME = 'MyVpn'
SSH_HOST = 'my.ssh.bastion.host.com'
-VPN_HOST = 'my.internal.vpn.host.com:1194'
+VPN_HOST = 'my.internal.vpn.host.com:1194'
LOCALPORT = 1195
SSH = '/usr/bin/ssh'
View
2 n-m
@@ -108,7 +108,7 @@ def activate(names):
'gsm': NetworkManager.NM_DEVICE_TYPE_MODEM,
}.get(ctype,ctype)
devices = NetworkManager.NetworkManager.GetDevices()
-
+
for dev in devices:
if dev.DeviceType == dtype and dev.State == NetworkManager.NM_DEVICE_STATE_DISCONNECTED:
break

0 comments on commit e25b022

Please sign in to comment.
Something went wrong with that request. Please try again.