Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
I
IDEA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
713
Warden
IDEA
Commits
cbc32f59
Commit
cbc32f59
authored
Apr 4, 2018
by
Pavel Kácha
Browse files
Options
Downloads
Patches
Plain Diff
Fix conversion order if IP addr objects
parent
a53a7a46
No related branches found
No related tags found
1 merge request
!1
CI/CD
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
idea/__init__.py
+1
-1
1 addition, 1 deletion
idea/__init__.py
idea/lite.py
+2
-2
2 additions, 2 deletions
idea/lite.py
with
3 additions
and
3 deletions
idea/__init__.py
+
1
−
1
View file @
cbc32f59
...
...
@@ -4,5 +4,5 @@
# Copyright (c) since 2016, CESNET, z. s. p. o.
# Use of this source is governed by an ISC license, see LICENSE file.
__version__
=
'
0.1.1
1
'
__version__
=
'
0.1.1
2
'
__author__
=
'
Pavel Kácha <pavel.kacha@cesnet.cz>
'
This diff is collapsed.
Click to expand it.
idea/lite.py
+
2
−
2
View file @
cbc32f59
...
...
@@ -101,7 +101,7 @@ def URI(s):
def
Net4
(
ip
):
for
t
in
ipranges
.
IP4Net
,
ipranges
.
IP4Range
,
ipranges
.
IP4
:
for
t
in
ipranges
.
IP4
,
ipranges
.
IP4Net
,
ipranges
.
IP4Range
:
try
:
return
t
(
ip
)
except
ValueError
:
...
...
@@ -110,7 +110,7 @@ def Net4(ip):
def
Net6
(
ip
):
for
t
in
ipranges
.
IP6Net
,
ipranges
.
IP6Range
,
ipranges
.
IP6
:
for
t
in
ipranges
.
IP6
,
ipranges
.
IP6Net
,
ipranges
.
IP6Range
:
try
:
return
t
(
ip
)
except
ValueError
:
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment