Merge pull request #4513 from chrismeyersfsu/fix-4362

only print dep warn for rax
This commit is contained in:
Chris Meyers
2016-12-19 17:20:41 -05:00
committed by GitHub

View File

@@ -1257,7 +1257,8 @@ class Command(NoArgsCommand):
''' '''
TODO: Remove this deprecation when we remove support for rax.py TODO: Remove this deprecation when we remove support for rax.py
''' '''
self.logger.info("Rackspace inventory sync is Deprecated in Tower 3.1.0 and support for Rackspace will be removed in a future release.") if self.source == "rax.py":
self.logger.info("Rackspace inventory sync is Deprecated in Tower 3.1.0 and support for Rackspace will be removed in a future release.")
begin = time.time() begin = time.time()
self.load_inventory_from_database() self.load_inventory_from_database()