1. Michael Blume
  2. pypy

Commits

Amaury Forgeot d'Arc  committed d154cd8

There is no time2 module.

  • Participants
  • Parent commits cf91e94
  • Branches default

Comments (0)

Files changed (1)

File pypy/interpreter/baseobjspace.py

View file
                 if name not in modules:
                     modules.append(name)
 
-        # a bit of custom logic: time2 or rctime take precedence over time
+        # a bit of custom logic: rctime take precedence over time
         # XXX this could probably be done as a "requires" in the config
-        if ('time2' in modules or 'rctime' in modules) and 'time' in modules:
+        if 'rctime' in modules and 'time' in modules:
             modules.remove('time')
 
         if not self.config.objspace.nofaking: