summaryrefslogtreecommitdiff
path: root/dns/grange.py
Commit message (Collapse)AuthorAgeFilesLines
* update copyrightBob Halley2018-12-011-0/+2
|
* doco conversionBob Halley2017-01-031-8/+6
|
* Fix grange.from_text()Martin2016-07-021-1/+5
| | | | | | | | | | | | | | | | | | | | Would be possible to use regexp instead? Fixing this error from tests: ====================================================================== ERROR: testFailFromText2 (test_grange.GRangeTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "~/dnspython/tests/test_grange.py", line 81, in testFailFromText2 self.assertRaises(dns.exception.SyntaxError, bad) File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertRaises callableObj(*args, **kwargs) File "~/dnspython/tests/test_grange.py", line 80, in bad dns.grange.from_text('%s-%d/%d' % (start, stop, step)) File "~/dnspython/dns/grange.py", line 39, in from_text start = int(cur) ValueError: invalid literal for int() with base 10: ''
* python3 supportArthur Gautier2016-04-211-1/+1
| | | | Signed-off-by: Arthur Gautier <baloo@gandi.net>
* fix docov1.11.0Bob Halley2013-07-071-2/+2
|
* This patch adds the ability to parse '$GENERATE' statements. See tests for ↵uberj2012-09-211-0/+65
examples.