Commit f8dc881a by willmcgugan

Release Candidate!

parent 95cc2ab6
...@@ -15,12 +15,11 @@ implementations of this interface such as: ...@@ -15,12 +15,11 @@ implementations of this interface such as:
""" """
__version__ = "0.4.0b3" __version__ = "0.4.0rc"
__author__ = "Will McGugan (will@willmcgugan.com)" __author__ = "Will McGugan (will@willmcgugan.com)"
# 'base' imports * from 'path' and 'errors', so their # No longer necessary - WM
# contents will be available here as well. #from base import *
from base import *
# provide these by default so people can use 'fs.path.basename' etc. # provide these by default so people can use 'fs.path.basename' etc.
import errors import errors
......
...@@ -45,7 +45,7 @@ class DummyLock(object): ...@@ -45,7 +45,7 @@ class DummyLock(object):
""" """
def acquire(self,blocking=1): def acquire(self, blocking=1):
"""Acquiring a DummyLock always succeeds.""" """Acquiring a DummyLock always succeeds."""
return 1 return 1
......
...@@ -65,7 +65,8 @@ from logging import DEBUG, INFO, ERROR, CRITICAL ...@@ -65,7 +65,8 @@ from logging import DEBUG, INFO, ERROR, CRITICAL
import fs import fs
import fs.errors as errors import fs.errors as errors
from fs.path import abspath, relpath, normpath, dirname, pathjoin 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.remote import CacheFSMixin, RemoteFileBuffer
from fs.base import fnmatch, NoDefaultMeta from fs.base import fnmatch, NoDefaultMeta
......
...@@ -48,7 +48,7 @@ def normpath(path): ...@@ -48,7 +48,7 @@ def normpath(path):
components = [] components = []
append = components.append append = components.append
special = ('', '.', '..').__contains__ special = ('..', '.', '').__contains__
try: try:
for component in path.split('/'): for component in path.split('/'):
if special(component): 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