14 Aug
2009
14 Aug
'09
16:21
You need to do the expansions and abspathing before checking if it's a directory as stuff like '~' will return False from isdir. Jan-Simon Möller wrote:
Am Freitag 14 August 2009 17:54:42 schrieb Luke Imhoff:
For the paths, before passing to os.path.abspath, you probably want to run it through the expansion os.path.expanduser() to cover ~/foo and os.path.expandvars() to cover $DIR/foo. It's one of the annoyances of os.path that user and environment variable expansion aren't built into abspath.
New version of build.py
Best, Jan-Simon
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org