Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
re6stnet
Commits
c40694a6
Commit
c40694a6
authored
Jul 20, 2012
by
Guillaume Bury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments are possible in config files
parent
ef42f40f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
README
README
+1
-0
vifibnet.py
vifibnet.py
+5
-3
No files found.
README
View file @
c40694a6
...
@@ -8,3 +8,4 @@ The organisation of the code
...
@@ -8,3 +8,4 @@ The organisation of the code
tunnel.py To choose wich connection delete/keep/...
tunnel.py To choose wich connection delete/keep/...
upnpigd.py To open a port
upnpigd.py To open a port
vifibnet.py
View file @
c40694a6
...
@@ -7,6 +7,8 @@ import db, plib, upnpigd, utils, tunnel
...
@@ -7,6 +7,8 @@ import db, plib, upnpigd, utils, tunnel
class
ArgParser
(
ArgumentParser
):
class
ArgParser
(
ArgumentParser
):
def
convert_arg_line_to_args
(
self
,
arg_line
):
def
convert_arg_line_to_args
(
self
,
arg_line
):
arg_line
=
arg_line
.
split
(
'#'
)[
0
].
rstrip
()
if
arg_line
:
for
arg
in
(
'--'
+
arg_line
.
lstrip
(
'--'
)).
split
():
for
arg
in
(
'--'
+
arg_line
.
lstrip
(
'--'
)).
split
():
if
arg
.
strip
():
if
arg
.
strip
():
yield
arg
yield
arg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment