From f96a339108608bb1fc3e52bd344316c8c8fba8c6 Mon Sep 17 00:00:00 2001 From: Jedrzej Nowak Date: Fri, 2 Oct 2015 11:39:01 +0200 Subject: [PATCH] Removed `split` method from SolarRunResult --- solar/solar/core/handlers/puppet.py | 2 +- solar/solar/core/transports/base.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/solar/solar/core/handlers/puppet.py b/solar/solar/core/handlers/puppet.py index 668d41d1..dcffe436 100644 --- a/solar/solar/core/handlers/puppet.py +++ b/solar/solar/core/handlers/puppet.py @@ -49,7 +49,7 @@ class LibrarianPuppet(object): branch=git['branch'] ) - modules = puppetlabs.split('\n') + modules = puppetlabs.stdout.split('\n') # remove forge entry modules = [module for module in modules if not module.startswith('forge')] diff --git a/solar/solar/core/transports/base.py b/solar/solar/core/transports/base.py index 34789779..52bbec9a 100644 --- a/solar/solar/core/transports/base.py +++ b/solar/solar/core/transports/base.py @@ -74,9 +74,6 @@ class SolarRunResult(object): return str(self.stderr) return str(self.stdout) - def split(self, *args, **kwargs): - return self.stdout.split(*args, **kwargs) - class SolarTransport(object):