-# -*- coding: utf-8 -*-
-
"""Parser for command line options.
This module helps scripts to parse the command line arguments in
"""
opts = []
- if type(longopts) == type(""):
+ if type(longopts) == str:
longopts = [longopts]
else:
longopts = list(longopts)