title: Python: why is my method using os.walk does not return all available paths?
body: <p>Question as in title and here's the method:</p>
  
  <pre><code> def walkThroughPath(self , sBasePath, blFolders = True, blFiles = True ):
        aPaths = []
        for sRootDir, aSubFolders, aFiles in os.walk( sBasePath ):
             for sFolder in aSubFolders:
                  if blFolders == True:
                       aPaths.append( sRootDir )
                  for sFileName in aFiles:
                       if blFiles == True:
                            aPaths.append( sRootDir + "/" + sFileName )
  
        return aPaths
  </code></pre>
  
  <p>The method returns a big amount of subfolders and files but definetly not all that I've found. </p>
  
  <p>What's wrong with my method (or is it a wrong usage of os.walk)?</p>
  
  <p>For those who are interested in the Background: </p>
  
  <p><a href="http://www.playonlinux.com/en/topic-10962-centralized_wineprefix_as_preparation_for_debpackages.html" rel="nofollow noreferrer">http://www.playonlinux.com/en/topic-10962-centralized_wineprefix_as_preparation_for_debpackages.html</a></p>