git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ec66318
)
fix to ab3e2da's regex to get username parsing working again
author
Forrest Voight
<forrest@forre.st>
Fri, 28 Jun 2013 02:34:06 +0000 (22:34 -0400)
committer
Forrest Voight
<forrest@forre.st>
Fri, 28 Jun 2013 02:34:17 +0000 (22:34 -0400)
p2pool/work.py
patch
|
blob
|
history
diff --git
a/p2pool/work.py
b/p2pool/work.py
index
57ff996
..
6d4d481
100644
(file)
--- a/
p2pool/work.py
+++ b/
p2pool/work.py
@@
-136,7
+136,7
@@
class WorkerBridge(worker_interface.WorkerBridge):
return (my_shares_not_in_chain - my_doa_shares_not_in_chain, my_doa_shares_not_in_chain), my_shares, (orphans_recorded_in_chain, doas_recorded_in_chain)
def get_user_details(self, username):
- contents = re.split('[+/]', username)
+ contents = re.split('([+/])', username)
assert len(contents) % 2 == 1
user, contents2 = contents[0], contents[1:]