diff --git a/scripts/supybot-adduser b/scripts/supybot-adduser index c681ff127..1f597805f 100644 --- a/scripts/supybot-adduser +++ b/scripts/supybot-adduser @@ -56,7 +56,7 @@ def main(): help='capability the user should have; ' 'this option may be given multiple times.') (options, args) = parser.parse_args() - if len(args) is not 1: + if len(args) != 1: parser.error('Specify the users.conf file you\'d like to use. ' 'Be sure *not* to specify your registry file, generated ' 'by supybot-wizard. This is not the file you want. ' diff --git a/scripts/supybot-reset-password b/scripts/supybot-reset-password index b20ddd0ff..e326efb63 100644 --- a/scripts/supybot-reset-password +++ b/scripts/supybot-reset-password @@ -52,7 +52,7 @@ def main(): dest='password', help='password for the user.') (options, args) = parser.parse_args() - if len(args) is not 1: + if len(args) != 1: parser.error('Specify the users.conf file you\'d like to use. ' 'Be sure *not* to specify your registry file, generated ' 'by supybot-wizard. This is not the file you want. '