Scott Kitterman [2008-04-13 12:48 -0000]:
> If the new argument were given a correct default so the function would work
> with one or two arguments then the api problem could be avoided.
Right, it could get another argument "check_exists = False" or so.
> This change was the last step to getting displayconfig working on
> no xorg.con systems.
If everything it does is to check whether the file exists, wouldn't a
mere os.path.exists() be much less hassle and more obvious/explicit?
Scott Kitterman [2008-04-13 12:48 -0000]:
> If the new argument were given a correct default so the function would work
> with one or two arguments then the api problem could be avoided.
Right, it could get another argument "check_exists = False" or so.
> This change was the last step to getting displayconfig working on
> no xorg.con systems.
If everything it does is to check whether the file exists, wouldn't a
mere os.path.exists() be much less hassle and more obvious/explicit?