[gpodder-devel] Question about util.get_free_disk_space(path)

  • From: me at nikosapi.org (nikosapi)
  • Date: Thu, 3 Jul 2008 20:38:51 -0400

Hello,

How come util.get_free_disk_space passes "path" to os.path.dirname? 

This causes a bit of trouble for pathnames that don't end in "/".
eg. os.path.dirname('/media/ipod') returns: '/media'

Is this a bug or is it needed for something?

Thanks,

nick


Other related posts: