[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/3] Don't let dbus permission errors stop us in testing mode.



---
 pyanaconda/network.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 2cfe5c3..61470c6 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -162,7 +162,7 @@ def hasActiveNetDev():
 
         return nmIsConnected(state)
     except:
-        return False
+        return flags.testing
 
 # Return a list of device names (e.g., eth0) for all active devices.
 # Returning a list here even though we will almost always have one
-- 
1.7.9.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]