diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-07-14 14:30:27 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-07-14 14:30:27 +0000 |
| commit | a1d328e3c9aff2f1f8cc55c21eb0c6dd010174d3 (patch) | |
| tree | 7c38ea209833c2b744981c901d49615cf4aa26f8 /lib/python/Components | |
| parent | 9f2a341b5affc52089e2f7429672df2e93b97a29 (diff) | |
| download | enigma2-a1d328e3c9aff2f1f8cc55c21eb0c6dd010174d3.tar.gz enigma2-a1d328e3c9aff2f1f8cc55c21eb0c6dd010174d3.zip | |
add missing backslashes
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Network.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 17a505ef..03602f29 100644 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -294,8 +294,8 @@ class Network: self.getInterfaces() def checkNetworkState(self): - return system("ping -c 1 82.149.226.170") == 0 or # www.dream-multimedia-tv.de - system("ping -c 1 193.99.144.85") == 0 or # www.heise.de + return system("ping -c 1 82.149.226.170") == 0 or \ # www.dream-multimedia-tv.de + system("ping -c 1 193.99.144.85") == 0 or \ # www.heise.de system("ping -c 1 209.85.135.103") == 0 # www.google.de def restartNetwork(self): @@ -325,8 +325,8 @@ class Network: return False def checkDNSLookup(self): - return system("nslookup www.dream-multimedia-tv.de") == 0 or - system("nslookup www.heise.de") == 0 or + return system("nslookup www.dream-multimedia-tv.de") == 0 or \ + system("nslookup www.heise.de") == 0 or \ system("nslookup www.google.de") def deactivateInterface(self,iface): |
