Commit f8dc881a by willmcgugan

Release Candidate!

parent 95cc2ab6
......@@ -15,12 +15,11 @@ implementations of this interface such as:
"""
__version__ = "0.4.0b3"
__version__ = "0.4.0rc"
__author__ = "Will McGugan (will@willmcgugan.com)"
# 'base' imports * from 'path' and 'errors', so their
# contents will be available here as well.
from base import *
# No longer necessary - WM
#from base import *
# provide these by default so people can use 'fs.path.basename' etc.
import errors
......
......@@ -45,7 +45,7 @@ class DummyLock(object):
"""
def acquire(self,blocking=1):
def acquire(self, blocking=1):
"""Acquiring a DummyLock always succeeds."""
return 1
......
......@@ -65,7 +65,8 @@ from logging import DEBUG, INFO, ERROR, CRITICAL
import fs
import fs.errors as errors
from fs.path import abspath, relpath, normpath, dirname, pathjoin
from fs import FS, NullFile, _thread_synchronize_default, SEEK_END
from fs.base import FS, NullFile
from fs import _thread_synchronize_default, SEEK_END
from fs.remote import CacheFSMixin, RemoteFileBuffer
from fs.base import fnmatch, NoDefaultMeta
......
......@@ -48,7 +48,7 @@ def normpath(path):
components = []
append = components.append
special = ('', '.', '..').__contains__
special = ('..', '.', '').__contains__
try:
for component in path.split('/'):
if special(component):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment