Permalink
Browse files

Less verbose logging

  • Loading branch information...
1 parent 2c5ba0e commit 3c52d25206a1f3afab6c00b88b68619ac3096161 @batterseapower batterseapower committed Dec 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 pinyin/media.py
View
2 pinyin/media.py
@@ -144,9 +144,9 @@ def mediafor(self, basename, audioextensions):
def frompath(cls, packpath):
media = {}
for filename in os.listdir(packpath):
- log.info("Discovered media %s in %s", filename, packpath)
media[filename] = os.path.join(packpath, filename)
+ log.info("Discovered %d media files in the pack at %s", len(media), packpath)
return MediaPack(packpath, media)
# Use to discover files in the media directory that are not referenced in the media

0 comments on commit 3c52d25

Please sign in to comment.