Author: duncan
Date: Wed Dec 27 00:17:42 2006
New Revision: 8816

Modified:
   branches/rel-1-6/freevo/src/audio/audioitem.py

Log:
Replaced tabs with spaces

Modified: branches/rel-1-6/freevo/src/audio/audioitem.py
==============================================================================
--- branches/rel-1-6/freevo/src/audio/audioitem.py      (original)
+++ branches/rel-1-6/freevo/src/audio/audioitem.py      Wed Dec 27 00:17:42 2006
@@ -181,28 +181,28 @@
 
     def format_track(self):
         """ Return a formatted string for use in item.py """
-       # Since we can't specify the length of the integer in the
-       # format string (Python doesn't seem to recognize it) we
-       # strip it out first, when we see the only thing that can be
-       # a number.
+        # Since we can't specify the length of the integer in the
+        # format string (Python doesn't seem to recognize it) we
+        # strip it out first, when we see the only thing that can be
+        # a number.
 
 
         # Before we begin, make sure track is an integer
     
         if self['trackno']:
             try:
-               mytrack = ('%0.2d' % int(self['trackno']))
+                mytrack = ('%0.2d' % int(self['trackno']))
             except ValueError:
-               mytrack = None
+                mytrack = None
         else:
             mytrack = None
 
         song_info = {  'a'  : self['artist'],
-                              'l'  : self['album'],
-                      'n'  : mytrack,
-                      't'  : self['title'],
-                      'y'  : self['year'],
-                      'f'  : self['name'] }
+                       'l'  : self['album'],
+                       'n'  : mytrack,
+                       't'  : self['title'],
+                       'y'  : self['year'],
+                       'f'  : self['name'] }
 
         if self.parent and hasattr(self.parent, 'AUDIO_FORMAT_STRING'):
             return self.parent.DIRECTORY_AUDIO_FORMAT_STRING % song_info

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to