[blivet:master 13/20] Make signature of setup() in parent class same as in children

mulhern amulhern at redhat.com
Fri Apr 11 18:03:55 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/devices.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/devices.py b/blivet/devices.py
index dfe05ad..f309d3f 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -329,7 +329,7 @@ class Device(util.ObjectID):
         log_method_call(self, name=self.name, kids=self.kids)
         self.kids += 1
 
-    def setup(self):
+    def setup(self, orig=False):
         """ Open, or set up, a device. """
         raise NotImplementedError("setup method not defined for Device")
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list