migrate-to-repokey: ask using canonical_path() as we do everywhere else

This commit is contained in:
Marian Beermann 2017-02-04 15:16:18 +01:00
parent 4e0422cdf0
commit 5bc03cc042
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ class PassphraseKey(ID_HMAC_SHA_256, AESKeyBase):
@classmethod @classmethod
def detect(cls, repository, manifest_data): def detect(cls, repository, manifest_data):
prompt = 'Enter passphrase for %s: ' % repository._location.orig prompt = 'Enter passphrase for %s: ' % repository._location.canonical_path()
key = cls(repository) key = cls(repository)
passphrase = Passphrase.env_passphrase() passphrase = Passphrase.env_passphrase()
if passphrase is None: if passphrase is None: