Skip to content

Commit

Permalink
Let aws_completer command account for LC_CTYPE of UTF-8
Browse files Browse the repository at this point in the history
`aws` command had the same problem and was already fixed in #945.
  • Loading branch information
quiver committed Mar 22, 2015
1 parent abbff5f commit 7348f7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/aws_completer
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# language governing permissions and limitations under the License.

import os
if os.environ.get('LC_CTYPE', '') == 'UTF-8':
os.environ['LC_CTYPE'] = 'en_US.UTF-8'
import awscli.completer

if __name__ == '__main__':
Expand Down

0 comments on commit 7348f7c

Please sign in to comment.