mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-29 15:43:54 +00:00
Run on Python 3.
This commit is contained in:
parent
1fd8603673
commit
4315f6a641
@ -11,7 +11,10 @@ import struct
|
||||
import sys
|
||||
|
||||
|
||||
if not hasattr(sys, 'real_prefix'):
|
||||
try:
|
||||
import allmydata
|
||||
del allmydata
|
||||
except ImportError:
|
||||
sys.exit("Please run inside a virtualenv with Tahoe-LAFS installed.")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user