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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux