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
34c5aa7e
Commit
34c5aa7e
authored
Mar 11, 2015
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed variable names
parent
4af20ca4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
sessions.py
blink/sessions.py
+7
-7
No files found.
blink/sessions.py
View file @
34c5aa7e
...
@@ -3542,14 +3542,14 @@ class FileTransfer(object):
...
@@ -3542,14 +3542,14 @@ class FileTransfer(object):
return
self
.
__dict__
[
'stream'
]
return
self
.
__dict__
[
'stream'
]
def
_set_stream
(
self
,
value
):
def
_set_stream
(
self
,
value
):
old_s
ession
=
self
.
__dict__
.
get
(
'stream'
,
None
)
old_s
tream
=
self
.
__dict__
.
get
(
'stream'
,
None
)
new_s
ession
=
self
.
__dict__
[
'stream'
]
=
value
new_s
tream
=
self
.
__dict__
[
'stream'
]
=
value
if
new_s
ession
!=
old_session
:
if
new_s
tream
!=
old_stream
:
notification_center
=
NotificationCenter
()
notification_center
=
NotificationCenter
()
if
old_s
ession
is
not
None
:
if
old_s
tream
is
not
None
:
notification_center
.
remove_observer
(
self
,
sender
=
old_s
ession
)
notification_center
.
remove_observer
(
self
,
sender
=
old_s
tream
)
if
new_s
ession
is
not
None
:
if
new_s
tream
is
not
None
:
notification_center
.
add_observer
(
self
,
sender
=
new_s
ession
)
notification_center
.
add_observer
(
self
,
sender
=
new_s
tream
)
stream
=
property
(
_get_stream
,
_set_stream
)
stream
=
property
(
_get_stream
,
_set_stream
)
del
_get_stream
,
_set_stream
del
_get_stream
,
_set_stream
...
...
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