##// END OF EJS Templates
py3: decode username and password before SMTP login...
py3: decode username and password before SMTP login smtplib.SMTP.login() requires str on Python 3. For 'password', we only need to decode when value comes from config as getpass() returns the correct type already.

File last commit:

r40308:a36c5e23 default
r43442:9145abd8 default
Show More
Cargo.toml
12 lines | 286 B | text/plain | TOMLLexer
[package]
name = "hgdirectffi"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Low level Python bindings for hg-core, going through existing C extensions"
[dependencies]
libc = "*"
hg-core = { path = "../hg-core" }
[lib]
crate-type = ["staticlib"]