Skip to content
Browse files

Merge branch 'master' of git://github.com/manateelazycat/deepin-softw…

…are-center
  • Loading branch information...
2 parents 1f50f34 + 9438fb7 commit 629f13219b3946b3eca133a05f61b4c073b80b80 @StephenPCG committed Dec 30, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main
View
1 src/main
@@ -28,6 +28,7 @@ import subprocess
def startCommandProxy():
'''Start command proxy.'''
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
+ s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) # make sure socket port always work
try:
# Software center is not running if address is not bind.

0 comments on commit 629f132

Please sign in to comment.
Something went wrong with that request. Please try again.