cubicweb #229663 bad sys.path adjustment [resolved]

The code written to handle the new CW_CUBES_DIR environment variable breaks sys.path adjustment:

File "/home/auc/rep/cubicweb/cubicweb/server/", line 45, in <module>
  from cubicweb.server.hookhelper import rproperty
File "/home/auc/rep/cubicweb/cubicweb/server/", line 9, in <module>
  from smtplib import SMTP
File "/usr/lib/python2.5/", line 46, in <module>
  import email.Utils

CubicWeb tries to import the email cube instead of the standard email package.

done in3.1.2
load left0.000
closed by<not specified>