Commits

Lynn Rees  committed 6d9200d

- fix iterator in file
- expand configuration

  • Participants
  • Parent commits 76a03ce
  • Branches pu

Comments (0)

Files changed (5)

File reqs/requires.txt

 futures
-stuf==0.9.4
+stuf==0.9.6

File reqs/test_requires.txt

-futures
+-r requires.txt
+fabric
+subprocess32
+nose
+coverage
+transaction
+ZODB3==3.8.0
+Durus
+python-memcached
+redis
+pycassa
+pymongo
+sqlalchemy
+hg-github
+dulwich
+hgapi
+psycopg2
+#  pyftpdlib
+[build_sphinx]
+source-dir = docs
+build-dir = docs/_build
+all_files = 1
+
+[upload_sphinx]
+upload-dir = docs/_build/html

File shove/base.py

         return exists(self._key_to_file(key))
 
     def __len__(self):
-        return len(i for i in listdir(self._dir) if not i.startswith('.'))
+        return len([i for i in listdir(self._dir) if not i.startswith('.')])
 
     def _createdir(self):
         # creates the store directory
 [testenv:py26]
 sitepackages=True
 deps=
-#  hg+ssh://hg@bitbucket.org/lcrees/stuf@pu#egg=stuf
-  fabric
-  subprocess32
   unittest2
-  nose
-  coverage
-  transaction
-  ZODB3==3.8.0
-  Durus
-  python-memcached
-  redis
-  pycassa
-  pymongo
-  sqlalchemy
-  hg-github
-  dulwich
-  hgapi
-  psycopg2
-#  pyftpdlib
+  -r{toxinidir}/reqs/test_requires.txt
 commands=nosetests {posargs:--with-coverage --cover-package=shove}
   
 [testenv:py27]
 sitepackages=True
 deps=
-#  hg+ssh://hg@bitbucket.org/lcrees/stuf@pu#egg=stuf
-  fabric
-  subprocess32
-  unittest2
-  nose
-  coverage
-  transaction
-  ZODB3
-  Durus
-  python-memcached
-  redis
-  pycassa
-  pymongo
-  sqlalchemy
-  hg-github
-  dulwich
-  hgapi
-  psycopg2
-#  pyftpdlib
+  -r{toxinidir}/reqs/test_requires.txt
 commands=nosetests {posargs:--with-coverage --cover-package=shove}