diff options
author | Louis Bouchard <louis.bouchard@canonical.com> | 2013-04-22 16:26:23 +0200 |
---|---|---|
committer | Louis Bouchard <louis.bouchard@canonical.com> | 2013-04-22 16:26:23 +0200 |
commit | 8938869780bc6a37be1478b58dd69cc99846e09b (patch) | |
tree | 626a9ce306be0da0c28cbbd2fcf7191464a7fd98 | |
parent | 8856596a68fc75ce36cb46b084b05097a4d6f5ff (diff) | |
download | sos-8938869780bc6a37be1478b58dd69cc99846e09b.tar.gz |
landscape.py : fix old format in cmd
-rw-r--r-- | sos/plugins/landscape.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/landscape.py b/sos/plugins/landscape.py index c31dea70..9861281f 100644 --- a/sos/plugins/landscape.py +++ b/sos/plugins/landscape.py @@ -60,10 +60,10 @@ class Landscape(Plugin, UbuntuPlugin): packages = ('landscape-client',) def setup(self): - self.addCopySpec("/etc/landscape/client.conf") + self.add_copy_spec("/etc/landscape/client.conf") def postproc(self): - self.doFileSub("/etc/landscape/client.conf", + self.do_file_sub("/etc/landscape/client.conf", r"registration_password(.*)", r"registration_password[***]" ) |