/[gentoo-x86]/net-p2p/tribler/files/tribler-5.9.12-fix-global-declarations.patch
Gentoo

Contents of /net-p2p/tribler/files/tribler-5.9.12-fix-global-declarations.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 2 15:46:37 2012 UTC (2 years, 1 month ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Version bump, bug #419163

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 diff -Naur usr.orig/share/tribler/Tribler/Player/swarmplayer.py usr/share/tribler/Tribler/Player/swarmplayer.py
2 --- usr.orig/share/tribler/Tribler/Player/swarmplayer.py 2012-02-11 11:54:10.000000000 -0500
3 +++ usr/share/tribler/Tribler/Player/swarmplayer.py 2012-02-11 11:53:15.000000000 -0500
4 @@ -438,9 +438,9 @@
5
6 s_play = status.get_or_create_status_element("playable", False)
7 if playable:
8 + global START_TIME
9 if preprogress < 1.0:
10 if s_play.get_value() == True:
11 - global START_TIME
12 status.create_and_add_event("failed_after", [time.time() - START_TIME])
13 START_TIME = time.time()
14
15 @@ -448,7 +448,6 @@
16
17 elif s_play.get_value() == False:
18 s_play.set_value(True)
19 - global START_TIME
20 status.create_and_add_event("playable_in", [time.time() - START_TIME])
21 START_TIME = time.time()
22

  ViewVC Help
Powered by ViewVC 1.1.20