@@ -22,7 +22,7 @@ __license__ = """
22
22
You should have received a copy of the GNU General Public License
23
23
along with this program. If not, see <http://www.gnu.org/licenses/>.
24
24
"""
25
- __version__ = '0.0.14 '
25
+ __version__ = '0.0.15 '
26
26
27
27
import argparse
28
28
import json
@@ -87,19 +87,19 @@ def argv_parse_check():
87
87
"--key" ,
88
88
action = 'append' ,
89
89
dest = 'key' ,
90
- type = six .u ,
90
+ type = six .text_type ,
91
91
default = [],
92
92
help = "variable name to set or unset" )
93
93
parser .add_argument ("-v" ,
94
94
"--value" ,
95
95
action = 'append' ,
96
96
dest = 'value' ,
97
- type = six .u ,
97
+ type = six .text_type ,
98
98
default = [],
99
99
help = "variable value to set" )
100
100
parser .add_argument ("-f" ,
101
101
dest = 'file' ,
102
- type = six .u ,
102
+ type = six .text_type ,
103
103
default = os .environ .get ('JSON_DOTENV_FILE' ) or os .path .join (os .getcwd (), '.env' ),
104
104
help = "Location of the environment file or from stdin (-), instead of %(default)s" )
105
105
parser .add_argument ("--force" ,
@@ -116,12 +116,12 @@ def argv_parse_check():
116
116
"critical, error, warning, info, debug" ))
117
117
parser .add_argument ("--logfile" ,
118
118
dest = 'logfile' ,
119
- type = six .u ,
119
+ type = six .text_type ,
120
120
default = JSON_DOTENV_LOGFILE ,
121
121
help = "Use log file <logfile> instead of %(default)s" )
122
122
parser .add_argument ("-o" ,
123
123
dest = 'output' ,
124
- type = six .u ,
124
+ type = six .text_type ,
125
125
default = os .environ .get ('JSON_DOTENV_OUTPUT' ) or '-' ,
126
126
help = "Output result in file or to stdout" )
127
127
parser .add_argument ("-q" ,
0 commit comments