Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
5e83dcef
Commit
5e83dcef
authored
Sep 07, 2015
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary default value for argument
parent
e272b225
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
contacts.py
blink/contacts.py
+4
-4
No files found.
blink/contacts.py
View file @
5e83dcef
...
...
@@ -271,7 +271,7 @@ class BonjourNeighbourURI(object):
class
BonjourNeighbourURIList
(
object
):
def
__init__
(
self
,
uris
=
[]
):
def
__init__
(
self
,
uris
):
self
.
_uri_map
=
OrderedDict
((
uri
.
id
,
uri
)
for
uri
in
uris
)
def
__getitem__
(
self
,
id
):
return
self
.
_uri_map
[
id
]
...
...
@@ -304,7 +304,7 @@ class BonjourPresence(object):
class
BonjourNeighbour
(
object
):
id
=
WriteOnceAttribute
()
def
__init__
(
self
,
id
,
name
,
hostname
,
uris
=
[]
,
presence
=
None
):
def
__init__
(
self
,
id
,
name
,
hostname
,
uris
,
presence
=
None
):
self
.
id
=
BonjourNeighbourID
(
id
)
if
isinstance
(
id
,
basestring
)
else
id
self
.
name
=
name
self
.
hostname
=
hostname
...
...
@@ -456,7 +456,7 @@ class GoogleContactURI(object):
class
GoogleContactURIList
(
object
):
def
__init__
(
self
,
uris
=
[]
):
def
__init__
(
self
,
uris
):
self
.
_uri_map
=
OrderedDict
((
uri
.
id
,
uri
)
for
uri
in
uris
)
def
__getitem__
(
self
,
id
):
return
self
.
_uri_map
[
id
]
...
...
@@ -838,7 +838,7 @@ class DummyContactURI(object):
class
DummyContactURIList
(
object
):
def
__init__
(
self
,
uris
=
[]
):
def
__init__
(
self
,
uris
):
self
.
_uri_map
=
OrderedDict
((
uri
.
id
,
uri
)
for
uri
in
uris
)
def
__getitem__
(
self
,
id
):
return
self
.
_uri_map
[
id
]
...
...
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