diff options
author | Alec Warner <antarus@gentoo.org> | 2006-04-07 00:48:59 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-04-07 00:48:59 +0000 |
commit | a7972f2f756788f50e71bb2a9e985f77fd140c5b (patch) | |
tree | 46a547e32c85f7391ebe96739dc0b81a40590334 /pym/portage_file.py | |
parent | 87010f8d058c843787587dac8d7404072e771ca0 (diff) | |
download | portage-a7972f2f756788f50e71bb2a9e985f77fd140c5b.tar.gz portage-a7972f2f756788f50e71bb2a9e985f77fd140c5b.tar.bz2 portage-a7972f2f756788f50e71bb2a9e985f77fd140c5b.zip |
Change == None to is None
svn path=/main/trunk/; revision=3085
Diffstat (limited to 'pym/portage_file.py')
-rw-r--r-- | pym/portage_file.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage_file.py b/pym/portage_file.py index a0f1d3a4e..970d42fbb 100644 --- a/pym/portage_file.py +++ b/pym/portage_file.py @@ -19,9 +19,9 @@ def normpath(mypath): def makedirs(path, perms=0755, uid=None, gid=None, must_chown=False): old_umask = os.umask(0) - if(uid == None): + if(uid is None): uid = portage_data.portage_uid - if(gid == None): + if(gid is None): gid = portage_data.portage_gid if not path: raise portage_exception.InvalidParameter, _("Invalid path: type: '%(type)s' value: '%(path)s'") % {"path": path, "type": type(path)} |