|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: beakerlib
|
|
|
|
|
Summary: A shell-level integration testing library
|
|
|
|
|
Version: 1.23
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.29.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPLv2
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
URL: https://github.com/%{name}
|
|
|
|
@ -46,6 +46,10 @@ Requires: yum-utils
|
|
|
|
|
%endif
|
|
|
|
|
Requires: /usr/bin/bc
|
|
|
|
|
Requires: /usr/bin/time
|
|
|
|
|
%if 0%{?rhel} < 8
|
|
|
|
|
%else
|
|
|
|
|
Recommends: beakerlib-redhat
|
|
|
|
|
%endif
|
|
|
|
|
Conflicts: beakerlib-redhat < 1-30
|
|
|
|
|
|
|
|
|
|
BuildRequires: /usr/bin/pod2man
|
|
|
|
@ -125,6 +129,44 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
%{_datadir}/vim/vimfiles/after/syntax/beakerlib.vim
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 25 2022 Dalibor Pospisil <dapospis@redhat.com> - 1.29.2-2
|
|
|
|
|
- improved performance and memory consumption of the fingerprint feature
|
|
|
|
|
|
|
|
|
|
* Mon Aug 8 2022 Dalibor Pospisil <dapospis@redhat.com> - 1.29.1-2
|
|
|
|
|
- rlImport: upwards traversal start in the current directory
|
|
|
|
|
- rlImport: support '.' to import lib.sh from the current directory
|
|
|
|
|
- rlImport: can handle libraries required by the fmf_id in different forms than (url, name)
|
|
|
|
|
also name-only. Also the path attribute is considered
|
|
|
|
|
- fingerprint: an asserts fingerprint and phases fingerprint is computed
|
|
|
|
|
it is printed as a message and it is also available in the TestResults file
|
|
|
|
|
- fixed a check for os-release file existence
|
|
|
|
|
- fixed LOG_LEVEL usage
|
|
|
|
|
- removed dependency on selinuxenabled
|
|
|
|
|
- fixed a few typos, thanks to jwakely@fedoraproject.org
|
|
|
|
|
|
|
|
|
|
* Tue Nov 9 2021 Dalibor Pospisil <dapospis@redhat.com> - 1.28-1
|
|
|
|
|
- cleanup rlRun_LOG files at rlJournalEnd
|
|
|
|
|
- close journal in rlDie - generate journal.xml at that moment
|
|
|
|
|
- implemented functions rlIsOS, rlIsOSLike, rlIsOSVersion, and rlIsRHELLike
|
|
|
|
|
- rlAssertRequired can now handle versioned dependencies
|
|
|
|
|
- new functions rlCheckRerquired, rlCheckRecommended, and rlCheckDependencies
|
|
|
|
|
|
|
|
|
|
* Thu Mar 25 2021 Dalibor Pospisil <dapospis@redhat.com> - 1.27-1
|
|
|
|
|
- rlCheckRequirements is now able to check also versions requirements
|
|
|
|
|
|
|
|
|
|
* Tue Mar 9 2021 Dalibor Pospisil <dapospis@redhat.com> - 1.26-1
|
|
|
|
|
- fixed rlServiceDisable if called without rlServiceEnable beforehand
|
|
|
|
|
- few internal fixes
|
|
|
|
|
|
|
|
|
|
* Tue Feb 9 2021 Dalibor Pospisil <dapospis@redhat.com> - 1.25-1
|
|
|
|
|
- rebased yash to version 1.2, fixes the backtick iterpretation
|
|
|
|
|
- docs fixes, by Štěpán Němec <snemec@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Sat Jan 30 2021 Dalibor Pospisil <dapospis@redhat.com> - 1.24-1
|
|
|
|
|
- rlImport --all imports only required libraries, not recommend
|
|
|
|
|
- implemented chkconfig fallback to systemctl
|
|
|
|
|
- fixed `make test` test suite execution
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Dalibor Pospisil <dapospis@redhat.com> - 1.23-1
|
|
|
|
|
- TestResults state indicator
|
|
|
|
|
- profiling code
|
|
|
|
@ -158,20 +200,13 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
- silence status of service in rlService{Start,Stop,Restore} functions (#…
|
|
|
|
|
- TESTPACKAGE variable to force package name (#54)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 9 2020 Dalibor Pospisil <dapospis@redhat.com> - 1.18-12
|
|
|
|
|
- optiomized CPU info gathering
|
|
|
|
|
- enhanced library search
|
|
|
|
|
|
|
|
|
|
* Mon Apr 6 2020 Dalibor Pospisil <dapospis@redhat.com> - 1.18-7
|
|
|
|
|
- added missing dependencies on /usr/bin/bc and /usr/bin/time
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 3 2019 Dalibor Pospisil <dapospis@redhat.com> - 1.18-6
|
|
|
|
|
- fixed correct python checking, bz1715479
|
|
|
|
|
- fix unbound variables, issues #43
|
|
|
|
@ -198,26 +233,25 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
- fallback to curl if wget is not available
|
|
|
|
|
- updated documentation
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 25 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-19
|
|
|
|
|
* Fri Sep 7 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-19
|
|
|
|
|
- fixed meta file generation
|
|
|
|
|
- follow url redirection when using curl
|
|
|
|
|
- fixed checking for python interpreter
|
|
|
|
|
- weak dependency on python3
|
|
|
|
|
|
|
|
|
|
* Wed Aug 22 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-16
|
|
|
|
|
- weak dependency on platform-python
|
|
|
|
|
- handling of missing python
|
|
|
|
|
- fixed srpm fetching
|
|
|
|
|
- fallback to curl if wget is not available
|
|
|
|
|
- changed requirements structure
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 25 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-15
|
|
|
|
|
- migrated to python3
|
|
|
|
|
- weak dependency of python3-lxml - without this the journal.xml just will not be generated
|
|
|
|
|
|
|
|
|
|
* Tue May 15 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-14
|
|
|
|
|
- use python2 as an interpreter of python scripts
|
|
|
|
|
|
|
|
|
|
* Sat Feb 24 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-13
|
|
|
|
|
- rlRun -s now waits for output logs to be flushed, bz1361246 + bz1416796
|
|
|
|
|
|
|
|
|
@ -228,9 +262,6 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.17-11
|
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 3 2018 Dalibor Pospisil <dapospis@redhat.com> - 1.17-9
|
|
|
|
|
- support rxvt terminal colors
|
|
|
|
|
- fixed persistent data load for bash version <= 4.1.2
|
|
|
|
@ -270,22 +301,16 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
- provided xunit.xsl
|
|
|
|
|
- libraries are now searched also in /usr/share/beakerlib-libraries
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 17 2017 Dalibor Pospisil <dapospis@redhat.com> - 1.16-3
|
|
|
|
|
- reworked rpm download function and fallbacks, bz1448510
|
|
|
|
|
- added links to bugzilla
|
|
|
|
|
|
|
|
|
|
* Fri Apr 21 2017 Dalibor Pospisil <dapospis@redhat.com> - 1.16-1
|
|
|
|
|
* Fri Apr 21 2017 Dalibor Pospisil <dapospis@redhat.com> - 1.16-2
|
|
|
|
|
- added missing dependency
|
|
|
|
|
- updated links to beakerlib's new home, bz1436810
|
|
|
|
|
- added rlAssertLesser and rlAssertLesserOrEqual, bz1423488
|
|
|
|
|
- added rpm-handling functions rlFetchSrcForInstalled, rlRpmDownload, and rlRpmInstall
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 26 2017 Dalibor Pospisil <dapospis@redhat.com> - 1.15-1
|
|
|
|
|
- added rlIsCentOS similar to rlIsRHEL, bz1214190
|
|
|
|
|
- added missing dependencies, bz1391969
|
|
|
|
@ -308,16 +333,10 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
- rlCheckMount take mount options (ro/rw) into consideration, bz1191627
|
|
|
|
|
- added documentation for LOG_LEVEL variable, bz581816
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 29 2015 Dalibor Pospisil <dapospis@redhat.com> - 1.11-1
|
|
|
|
|
- fixed bugs 971347, 1076471, 1262888, 1216177, 1184414, 1192535, 1224345,
|
|
|
|
|
1211269, 1224362, 1205330, 1175513, 1211617, 1221352
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 4 2015 Dalibor Pospisil <dapospis@redhat.com> - 1.10-2
|
|
|
|
|
- remount if mounting already mounted mount point with options,
|
|
|
|
|
fixes bug 1173623
|
|
|
|
@ -336,51 +355,111 @@ Files for syntax highlighting BeakerLib tests in VIM editor
|
|
|
|
|
* Tue Jun 17 2014 Dalibor Pospisil <dapospis@redhat.com> - 1.9-1
|
|
|
|
|
- rebase to upstream 1.9
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
* Mon Jul 15 2013 Petr Muller <muller@redhat.com> - 1.8-2
|
|
|
|
|
- Syntax highlighting in VIM (Filip Holec)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2013 Petr Muller <muller@redhat.com> - 1.8-4
|
|
|
|
|
- Fix docdir usage to comply with Unversioned Docdirs
|
|
|
|
|
* Fri Jun 07 2013 Petr Muller <muller@redhat.com> - 1.8-1
|
|
|
|
|
- Robustify journal against non-ascii in release names (Petr Muller)
|
|
|
|
|
- Make PURPOSE file optional (Nikolai Kondrashov)
|
|
|
|
|
- Fix doc paths to /usr/share (Petr Muller)
|
|
|
|
|
- Fix corner cases of library discovery (Petr Muller)
|
|
|
|
|
- Robustify /dev/null usage in rlRun (Petr Muller)
|
|
|
|
|
- Provide more information in passed tests' messages (Petr Muller)
|
|
|
|
|
- rlService* functions provide more debugging information (Filip Holec)
|
|
|
|
|
- fix rlBundleLogs (Filip Holec)
|
|
|
|
|
- fix rlAssertGrep parameter processing (Miroslav Franc)
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
* Thu Apr 25 2013 Petr Muller <muller@redhat.com> - 1.7-1
|
|
|
|
|
- rebase to latest upstream
|
|
|
|
|
- fix padding around message timestamps (Dalibor Pospisil)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.8-2
|
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
* Wed Apr 10 2013 Petr Muller <muller@redhat.com> - 1.6.99.3-1
|
|
|
|
|
- third attempt for upstream release
|
|
|
|
|
- show more package information in the header (Petr Muller)
|
|
|
|
|
- journal unicode robustifications (Petr Muller)
|
|
|
|
|
- fix crashes when /etc/redhat-release is not present (Petr Muller)
|
|
|
|
|
- fix searching of library paths in rlImport (Dalibor Pospisil)
|
|
|
|
|
- rlImport --all (Dalibor Pospisil)
|
|
|
|
|
- rlImport support for RhtsRequires: Library(foo/bar) (Dalibor Pospisil)
|
|
|
|
|
- Improved bookkeeping on already imported libraries (Dalibor Pospisil)
|
|
|
|
|
- rewritten rlImport to run also on old bash (Dalibor Pospisil)
|
|
|
|
|
- fix rlImport for libs with weird characters in name (Dalibor Pospisil)
|
|
|
|
|
- rlLogDebug: fix return code (Dalibor Pospisil)
|
|
|
|
|
- several more small fixes
|
|
|
|
|
|
|
|
|
|
* Mon Jun 10 2013 Petr Muller <muller@redhat.com> - 1.8-1
|
|
|
|
|
- Update to new upstream version 1.8
|
|
|
|
|
* Tue Mar 05 2013 Petr Muller <muller@redhat.com> - 1.6.99.2-1
|
|
|
|
|
- use only distro Python, not the SCL one
|
|
|
|
|
- fix pipefail detection for older RHELs
|
|
|
|
|
- rlAssertRpm --all
|
|
|
|
|
- rlAssertBinaryOrigin
|
|
|
|
|
- journal can be used as a Python module now
|
|
|
|
|
|
|
|
|
|
* Thu May 09 2013 Petr Muller <muller@redhat.com> - 1.7-2
|
|
|
|
|
- Robustify journal to accept umlaut in distro release name
|
|
|
|
|
- Fix internal documentation
|
|
|
|
|
* Mon Jan 21 2013 Petr Muller <muller@redhat.com> - 1.6.99.1-1
|
|
|
|
|
- installation machinery fix
|
|
|
|
|
|
|
|
|
|
* Tue Apr 30 2013 Petr Muller <muller@redhat.com> - 1.7-1
|
|
|
|
|
- rebase to upstream 1.7
|
|
|
|
|
* Thu Jan 10 2013 Petr Muller <muller@redhat.com> - 1.6.99-1
|
|
|
|
|
- testing the rebase to potential 1.7
|
|
|
|
|
- journal storage cleanups and fixes (Jiri Jaburek)
|
|
|
|
|
- fixes in rlMount functions (Petr Muller)
|
|
|
|
|
- code cleanups
|
|
|
|
|
- use non-tmpfs-backed storage where needed (Petr Muller)
|
|
|
|
|
- rlFileBackup namespace support (Jiri Jaburek)
|
|
|
|
|
- rlImport implementation
|
|
|
|
|
|
|
|
|
|
* Tue Mar 05 2013 Petr Muller <muller@redhat.com> - 1.6-3
|
|
|
|
|
- Build ceased to figure out pod2man dep automatically: fixed
|
|
|
|
|
* Thu Jul 26 2012 Petr Muller <muller@redhat.com> - 1.6-2
|
|
|
|
|
- packaging tweaks
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
* Thu Jul 26 2012 Petr Muller <muller@redhat.com> - 1.6-1
|
|
|
|
|
- update to upstream version
|
|
|
|
|
- code clean-up
|
|
|
|
|
- fix rlFileBackup behavior with symlinks (Karel Srot)
|
|
|
|
|
- fix rlGetDistroRelease for RHEL7 Alphas
|
|
|
|
|
- fix journal tracebacks related to time operations
|
|
|
|
|
|
|
|
|
|
* Wed Jul 25 2012 Petr Muller <muller@redhat.com> - 1.6-1
|
|
|
|
|
- Updated to new upstream version
|
|
|
|
|
* Mon Jun 11 2012 Petr Muller <muller@redhat.com> - 1.5-2
|
|
|
|
|
- extended rlIs{RHEL/Fedora} syntax allowing intervals (Jiri Jaburek)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
* Tue May 15 2012 Petr Muller <muller@redhat.com> - 1.5-1
|
|
|
|
|
- fix bz754180 (Matej Kollar)
|
|
|
|
|
- fork lsb_release and remove dep on lsb_redhat
|
|
|
|
|
|
|
|
|
|
* Wed May 02 2012 Petr Muller <pmuller@redhat.com> - 1.5-1
|
|
|
|
|
- update to new upstream version
|
|
|
|
|
* Thu Mar 08 2012 Petr Muller <muller@redhat.com> - 1.4.2
|
|
|
|
|
- fix rlGetDistro* functions for RHEL7 (Petr Muller)
|
|
|
|
|
- fix SELinux detection in rlFileBackup/Restore (Petr Muller)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
* Fri Mar 02 2012 Petr Muller <muller@redhat.com> - 1.4-1
|
|
|
|
|
- merge upstream changes and bump the version
|
|
|
|
|
- added rlIsXXXX functions from RH internal (Petr Muller)
|
|
|
|
|
- added COBBLER_SERVER function export if available (Marian Ganisin)
|
|
|
|
|
- unified bash syntax (Roman Rakus)
|
|
|
|
|
- INFO logs are now shown by default (Petr Splichal)
|
|
|
|
|
- rlFileBackup of symlinks improvements (Petr Splichal)
|
|
|
|
|
- added a dep on redhat-lsb to accomodate rlIsXXXX
|
|
|
|
|
- log colorizing (Petr Splichal)
|
|
|
|
|
- fix rlFileRestore problems with symlinks (Filip Skola)
|
|
|
|
|
- added timezone information to start/end time (Pavel Holica)
|
|
|
|
|
- deprecate the ABORT state (Brano Nater)
|
|
|
|
|
- fix rlWatchdog (Mirek Franc)
|
|
|
|
|
- rlCheckMount improvements (Brano Nater)
|
|
|
|
|
- add a summary of phase results to logfile (Ales Zelinka)
|
|
|
|
|
- config option for more verbose journal printing (Jan Hutar)
|
|
|
|
|
- Testsuite improvements (Jan Hutar)
|
|
|
|
|
- add John Lockhart's deja-summarize)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 01 2011 Petr Muller <pmuller@redhat.com> - 1.4-1
|
|
|
|
|
- update to new upstream version
|
|
|
|
|
* Tue Feb 21 2012 Petr Muller <pmuller@redhat.com> - 1.3-5
|
|
|
|
|
- rebuild for RHEL7
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
* Fri Oct 01 2010 Petr Muller <pmuller@redhat.com> - 1.3-4
|
|
|
|
|
- fixed bug when rlRun with -l param didn't work properly (Jan Hutar)
|
|
|
|
|
- fixed selinux context problems in rlFileRestore (Petr Splichal)
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2010 Petr Muller <pmuller@redhat.com> - 1.3-3
|
|
|
|
|
- packaging fix (remove the unnecessary tag from release)
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2010 Petr Muller <pmuller@redhat.com> - 1.3-2
|
|
|
|
|
- functions for determining current test status (Ales Zelinka, Petr Splichal]
|
|
|
|
|
- removal of unnecessary sync in rlRun (Petr Splichal)
|
|
|
|
|
- packaging tuned for rhel6
|
|
|
|
|
|
|
|
|
|
* Wed May 12 2010 Petr Muller <pmuller@redhat.com> - 1.3-1
|
|
|
|
|
- packaging fixes: permission fixes, added dep on python2,
|
|
|
|
|