Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7170694
util.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
255 B
Referenced Files
None
Subscribers
None
util.py
View Options
import
random
import
string
def
new_transaction_id
():
return
random_string
(
12
)
def
new_message_id
():
return
random_string
(
10
)
def
random_string
(
length
):
return
""
.
join
(
random
.
choice
(
string
.
letters
+
string
.
digits
)
for
i
in
xrange
(
length
))
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Tue, Nov 26, 5:10 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3413786
Default Alt Text
util.py (255 B)
Attached To
Mode
rPYMSRPLIB python3-msrplib
Attached
Detach File
Event Timeline
Log In to Comment