don't use os.kill on win32 platform
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Fix Released
|
Medium
|
Alexander Belchenko |
Bug Description
I've tried to Cancel qpull operation and get the traceback:
Traceback (most recent call last):
File "C:\work\
self.
File "C:\work\
os.
AttributeError: 'module' object has no attribute 'kill'
Connected (version 2.0, client Twisted)
Authentication (publickey) successful!
Secsh channel 1 opened.
Unable to obtain lock file://
held by <email address hidden> on host bialix-laptop [process #3352]
locked 2 minutes, 15 seconds ago
Will continue to try until 20:31:50, unless you press Ctrl-C
If you're sure that it's not being modified, use bzr break-lock file://
zr/branch/lock
os.kill is not available on Windows platform. Using it unconditionally is bad.
Changed in qbzr: | |
assignee: | nobody → bialix |
importance: | Undecided → Medium |
milestone: | none → 0.9.7 |
status: | New → Fix Committed |
Changed in qbzr: | |
status: | Fix Committed → Fix Released |
Search for os.kill + win32 gave this:
* http:// www.python. org/doc/ faq/windows/ #how-do- i-emulate- os-kill- in-windows buildbot. net/trac/ ticket/ 77 bugs.python. org/issue122021 2
* http://
* http://