def d_pop(self):
return self._tmp_stack.pop()
+ def verbose_out(self, msg):
+ if self.opts.verbose is True:
+ print msg
+
+ def debug_out(self, msg):
+ if self.opts.debug is True:
+ print "debug: " + msg
+
+ def message_out(self, msg):
+ print msg
+
def parse_remote_desc(self, remote_desc):
ssh_username = ""
ssh_hostname = ""
ssh_hostport = 22
return [ssh_username, ssh_hostname, ssh_hostport]
-
def str_join(self, base, added, sep):
if base is None or base == "":
return added
else:
return base + sep + added
-
\ No newline at end of file