Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dafuq
Code:
_log.debug("prefix = %s, rndm = %s", prefix, rndm)
s = os.path.join(prefix, rndm[0], rndm[0:2], rndm, filename)
_log.debug("resulting string s = %s", s)
Output:
prefix = pubkey, rndm = 9gksLuHlOVGIleV6gjLk
2013-10-28 14:55:49,389 DEBUG import_initial_accounts.accountpage.utils.<module> MainThread resulting string s = /home/ageorges/vsc/django/tmp/test_django_media_root/fake_uploads/ssh-key-import.sPv2Vw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.