mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
ifupdownmain: cosmetic fixes to deprecated warning message
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
@@ -731,9 +731,9 @@ class ifupdownMain(ifupdownBase):
|
||||
if a.get('deprecated'):
|
||||
newa = a.get('new-attribute')
|
||||
if newa:
|
||||
self.logger.warn('attribute %s is deprecated. use %s instead' %(attrname, newa))
|
||||
self.logger.warn('attribute %s is deprecated. use %s instead.' %(attrname, newa))
|
||||
else:
|
||||
self.logger.warn('attribute %s is deprecated'
|
||||
self.logger.warn('attribute %s is deprecated.'
|
||||
%attrname)
|
||||
return True
|
||||
except AttributeError:
|
||||
|
Reference in New Issue
Block a user