Commit 4a4fb150 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merged in feniks_619452/noc/develop (pull request #119)

Harmonic.ProStream1000. Small fixes

--HG--
branch : develop
parents 6366a757 fcf840c4
......@@ -22,6 +22,7 @@ class Script(noc.sa.script.Script):
implements = [IGetConfig]
data = '<AFRICA><Platform ID=\"1\" Action=\"GET_TREE\" /></AFRICA>'
rx_sub = re.compile('\n\t+\n+', re.MULTILINE| re.DOTALL)
def execute(self):
url = 'http://' + self.access_profile.address + '/BrowseConfig'
......@@ -44,4 +45,4 @@ class Script(noc.sa.script.Script):
config = self.rx_sub.sub('\n', config)
config = config.replace(">\n</", "></")
return self.cleaned_config(config)
\ No newline at end of file
return config
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment