From: Roopa Prabhu Date: Sat, 4 Apr 2015 05:33:53 +0000 (-0700) Subject: rework error message X-Git-Tag: 1.2.2-1~197 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=652636b24015a41c50b304e6c0fb042b378d31e0;p=mirror_ifupdown2.git rework error message Testing Done: tested interfaces file with shared dependents (cherry picked from commit 671535a300f366cf690cf96b6ad667c66db22497) (cherry picked from commit b2c1cffa2ea6740eceacde57d59449057c6bcb82) --- diff --git a/ifupdown2/ifupdown/ifupdownmain.py b/ifupdown2/ifupdown/ifupdownmain.py index 44a34fe..e6e53c6 100644 --- a/ifupdown2/ifupdown/ifupdownmain.py +++ b/ifupdown2/ifupdown/ifupdownmain.py @@ -401,9 +401,9 @@ class ifupdownMain(ifupdownBase): if check_depends: common = Set(ifacedlist).intersection(setdlist) if common: - self.logger.error('iface %s and %s ' + self.logger.error('misconfig..?. iface %s and %s ' %(ifaceobj.name, ifacename) + - 'have common dependents %s' %str(list(common))) + 'seem to share dependents/ports %s' %str(list(common))) def preprocess_dependency_list(self, upperifaceobj, dlist, ops): """ We go through the dependency list and