From dc178c7c38a4ad1457477e86f1b91015a9244d84 Mon Sep 17 00:00:00 2001 From: Shashank Singh Date: Wed, 13 Dec 2017 11:42:27 +0530 Subject: [PATCH] Fixed a minor bug in v1.3.0 -> v1.3.1 --- .../dist/pylist_nester-1.3.0.tar.gz | Bin 1072 -> 1073 bytes .../dist/pylist_nester-1.3.1.tar.gz | Bin 0 -> 1069 bytes HeadFirstSeries/pylist_nester.py | 6 +++--- HeadFirstSeries/setup.py | 2 +- README.md | 9 +++++++-- 5 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 HeadFirstSeries/dist/pylist_nester-1.3.1.tar.gz diff --git a/HeadFirstSeries/dist/pylist_nester-1.3.0.tar.gz b/HeadFirstSeries/dist/pylist_nester-1.3.0.tar.gz index 6249f212113e6c2991f38360964d566afe425418..1dc914099f9c3b6b6fa1532c646ddca14c4a0af6 100644 GIT binary patch delta 1054 zcmV+(1mXLz2(btTABzYGHpGzzB!6$)HW2n_0sapM^@DB9RwO&IHv<6{V9PpmO#?LD zK5T=*Nau*CL<%Go!~cFq%CcoQ1&S>V(18yGNFwfz_riNfR@;JWvl6Hcs!0;fqWG-$ z%!mn##lpP_r*HS2%%;hCaz2gc^In`xFD~L9T=ZT5wKhxvJWG(>;Jy)5Pk+?^_RTMo zUvIA8J!k#rwyvM4|3y4KssC(#KJ7v5>;Kj977fdoVUyocX)eVQk|^#6H>|`Z94(H1 z&=Hwgq4#xJGPPa86=+^o1wy5`AW@KOa7r0i0~$8m1L@cI5tnDTTa!yMd5tW)=1QCQs5t6=a8=W| zT0&Q?9i3pwc(DW_jY3wqzaQ7^BWi9iN@dv(e&Z<$O&)x>d2{pbkDGq*6Y5lP=W=KC zwqRy0RoNNpebacV|BuF^YWtP@f0`t-w*QmG{G9rK9#0p(|6c-O7=Pa7TmwBOM+i@A zA3`a!y1+3okpVZ<;_{Jas6h&ZbuCicA&|17z^oqt!I8kKki~EWo1CY4Gop7~U~*=l zWLuERy{IdR5z?a0@Q5@ba;+cqg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`d>fZs3mPn!->Uasz|z+*)TH zKE&`C4P&{5j4dTGOwD;md+SI+cvvCq?Sn)LnAp`CEo!E7v49Q{YTv5U{4w9rXERXU z2!3Xyz|uHn2n({=C3ByuTI{5l7V0QWDk5`oW!K%acIrYz(|?Hf5M6LMrAuzD4FaQ+ zf(I*viKNgS-3seCh2)=rjBOAe6lKGP*9ET5jz0J*>SSojUXoe#wz0F|o#uQ+{dA(WFlJm))Z%(wnQR?h`hj?CrKZ{tx|M zqp8Yg==)!K{-4FOWB(sbC)EGP!|BZT|Chi@$pTW^0)Lg^xu(OgLZGv}BxZEm!1A5@ zfKFZeCk7C7M`*Ia4P2e=rmNmbc2i#+nzC-MHD$`(vOa6*gUp{73jc0MGk3HCXLo(a&B5n)51^!-a$Y_JYz>o1ShK2etp@0%cVnlzRsD@bK{P@bK{P@bK{P X@bK{P@DA|s@Tl<*&~emq04M+e`_w2I diff --git a/HeadFirstSeries/dist/pylist_nester-1.3.1.tar.gz b/HeadFirstSeries/dist/pylist_nester-1.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8b3808df4d855f43ee065a00e97ff0eacda6e4c8 GIT binary patch literal 1069 zcmV+|1k(E-iwFp$#4uU{|72-%bX;(GY-w|JUv6b{bY*faF)lMMF)nmrascgDZHwbJ z5YA_V|HI(>unFCG<0PB3frT!#*DKfCTexlep)EmcPuAjW$w=~s{QHjNyePRnDDB?D z6+IYi52Mk%XdX$;rsCQx1!{w8n5C06yXZYLMuho%?%sscxBJc}<7}Eu$K&a=H_FDB z(|HdrdoO@i8>RrBB}hNGuLR8#^}l`l)9~k;*YBUR{CexPYU@5l5a1Et5F<(AG6mn+05h=5QvS1-Sw@ zr~qp~!O(=0A7*6VeuOGc0Q_}#aYQTjmR z+xwKui`$JUr5L_JR=nm)n-8cs>NvV?Nv;;)58FwHSTkNNKuDvIRqpTm75j*q8%%Rq z$I&l5N1@4sUvJ*ty#M_sj($L$EACwOq_-6_E2(Nv)cdOORR15z(q{98`+uBelSBVc zNS@6`*=6Yemq3yvcO}X zM?i2Su&iX&AHcfgdD%(ymJ3YD4Ag7`Qn?p(B{4!?wFMrLMoO;5Q5?N`N1X~4K4Jw7 z3S6<^e48XP zz{IArXwfm9%LVj_P>0r>=J(ZxKK(=uQuvXP0ZZdlA*{(~SIljxI<6+=_?^3wA6-nl2s1586h`-*ihFC~$+-D2!tt7(}YhF_DAtK!piyRs!Vb{gSA z<;3^OP_6EV+Q`PbMo}|AwN@QPE?c{)VX<40b|TsY04eKBFX6793on)x8K7wl6FK(x z+UL&pz*9W#8c(sy#&*$tlMN0-kaBur!A|G&PvkpyDbl5l)OxF!c)-3hJ9t8U?@&Ma z)2>hy#nsu_;0ccp-VS;J|BwA&qiLIG*!TbG`G20xz5Rbe`~P%2n}+@WC9qPmhJuzr zYj~yUFsu;hEH8-}-7>Iz=RTm{b^n0_1lQE0D&UW6RRt#j{@V+RZ?-txEOuu9%LU4s n-Wd-Z91su?5D*X$5D*X$5D*X$5D*X$5YXXo?CSAB04M+e&x0L@ literal 0 HcmV?d00001 diff --git a/HeadFirstSeries/pylist_nester.py b/HeadFirstSeries/pylist_nester.py index f376275..6abb001 100644 --- a/HeadFirstSeries/pylist_nester.py +++ b/HeadFirstSeries/pylist_nester.py @@ -16,7 +16,7 @@ def print_lol(the_list, indent = False, level = 0): if isinstance(each_item, list): print_lol(each_item, indent, level+1) else: - #Adding indentations - for tab_stop in range(level): - print("\t", end='') + if indent: + for tab_stop in range(level): + print("\t", end='') print(each_item) \ No newline at end of file diff --git a/HeadFirstSeries/setup.py b/HeadFirstSeries/setup.py index 8cd7ddd..0851d7a 100644 --- a/HeadFirstSeries/setup.py +++ b/HeadFirstSeries/setup.py @@ -3,7 +3,7 @@ setup ( name = 'pylist_nester', - version = '1.3.0', + version = '1.3.1', py_modules = ['pylist_nester'], author = 'shashank9830', author_email = 'notrealemail@fakesite.com', diff --git a/README.md b/README.md index d4b7e35..fa32a2c 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,18 @@ List of my Python modules [Latest] + **v1.3.1 - pylist_nester** + + Update log for v1.3.1 + - Fixed minor bug + + [Older Versions] + **v1.3.0 - pylist_nester** Update log for v1.3.0 - Indentations can now be turned on and off as per user's choice - [Older Versions] - **v1.2.0 - pylist_nester** Update log for v1.2.0