
import gettext


gettext.install('tacker', unicode=1)


import gettext

import six

if six.PY2:
    gettext.install('tacker', unicode=1)
else:
    gettext.install('tacker')

Fix gettext wrong argument error in py34
Fix gettext wrong argument error in py34

Closes-Bug: #1550202
Change-Id: I468bef7a8c0a9fa93576744e7869dfa5f2569fa0

  
  import gettext
  
+ import six
  
+ if six.PY2:
- gettext.install('tacker', unicode=1)
+     gettext.install('tacker', unicode=1)
+ else:
+     gettext.install('tacker')
  
Fix gettext wrong argument error in py34
## Code Before:

import gettext


gettext.install('tacker', unicode=1)

## Instruction:
Fix gettext wrong argument error in py34
## Code After:

import gettext

import six

if six.PY2:
    gettext.install('tacker', unicode=1)
else:
    gettext.install('tacker')
