removed duplicated code, using pydal's _compat.py
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ Generates names for cache and session files
|
||||
--------------------------------------------
|
||||
"""
|
||||
import os
|
||||
from gluon._compat import builtin
|
||||
from pydal._compat import builtin
|
||||
|
||||
def generate(filename, depth=2, base=512):
|
||||
if os.path.sep in filename:
|
||||
|
||||
Reference in New Issue
Block a user