#28 fix broken when non-ASCII in path
Merged 7 years ago by lsedlar. Opened 7 years ago by cqi.

file modified
+2 -1
@@ -17,6 +17,7 @@ 

  import argparse

  

  import pyrpkg

+ import pyrpkg.utils

  import fedpkg

  

  
@@ -44,7 +45,7 @@ 

  

      if not client.args.path:

          try:

-             client.args.path = os.getcwd()

+             client.args.path = pyrpkg.utils.getcwd()

          except:

              print('Could not get current path, have you deleted it?')

              sys.exit(1)

Resolves: 1286374

Signed-off-by: Chenxiong Qi cqi@redhat.com

Dependency on pyrpkg will need to be bumped, but that is not a problem. :thumbsup:

Pull-Request has been merged by lsedlar

7 years ago
Metadata