Skip to content

Conversation

cl4u2
Copy link
Contributor

@cl4u2 cl4u2 commented May 21, 2015

Example usage:

>>> from netdiff import OlsrParser
>>> url = 'telnet://127.0.0.1:9090/'
>>> p = OlsrParser(url)
>>> q = OlsrParser(url)
>>> p - q
{'removed': [], 'added': []}

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 49543a0 on cl4u2:diffit into 94a3a5e on ninuxorg:master.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 49543a0 on cl4u2:diffit into * on ninuxorg:master*.

cl4u2 added 3 commits May 21, 2015 23:30
use the substraction overloaded operator to call the diff between parsers / topologies

example:
>>> from netdiff import OlsrParser
>>> url = 'telnet://127.0.0.1:9090/'
>>> p = OlsrParser(url)
>>> q = OlsrParser(url)
>>> p - q
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 49543a0 on cl4u2:diffit into * on ninuxorg:master*.

nemesifier added a commit that referenced this pull request May 21, 2015
Added __sub__ operator as diff shortcut
@nemesifier nemesifier merged commit 5e0e678 into openwisp:master May 21, 2015
@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling a435be5 on cl4u2:diffit into 94a3a5e on ninuxorg:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants