projects
/
diaspy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initiaial code in `diaspy/connection.py` TODO list
[diaspy.git]
/
diaspy
/
connection.py
1
#!/usr/bin/env python
2
3
4
class
Connection
():
5
"""Object representing connection with the server.
6
It is pushed around internally and is considered private.
7
"""
8
def
__init__
(
self
,
pod
,
username
=
''
,
password
=
''
):
9
self
.
pod
=
pod
10
self
.
username
,
self
.
password
=
username
,
password
11