Comment 38 for bug 214914

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 214914] Re: jockey-gtk crashed with AttributeError in enabled()

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?