#709 '_set_token' method moved to a shared place
Merged by onosek. Opened by onosek.
onosek/rpkg set_token  into  master

Download 709.patch

This method was used only by fedpkg in the past. With implementing a
similar functionality in rhpkg, move this code to rpkg where it can
be shared by multiple tools.
The original method accepted the token as a command-line argument
and this wasn't a sane approach. Now the token is safely put via
getpass method.

JIRA: RHELCMP-13435
Relates: rhbz#2089694

Signed-off-by: Ondřej Nosek onosek@redhat.com

rebased onto 389a663cce7860acddcdaf25cc5d52e5978c3d13

Pull-Request has been merged by onosek

Metadata