Changes between Initial Version and Version 2 of Ticket #33295


Ignore:
Timestamp:
Nov 17, 2021, 5:20:42 AM (3 years ago)
Author:
Vishal Pandey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33295

    • Property Owner changed from nobody to Vishal Pandey
  • Ticket #33295 – Description

    initial v2  
    11
     2We pretty much know and understand that only a string could be passed in self.stdout.write function
     3Just in case if we pass a list into it, like the below piece of code:
    24{{{
    35class Command(BaseCommand):
     
    68}}}
    79
    8 The following piece of code throws an Attribute error stating that list' object has no attribute 'endswith', it is because the datatype of msg is not checked in handle function while writing the source code.
     10It throws an Attribute error stating that list' object has no attribute 'endswith', it is because the datatype of msg is not checked in handle function while writing write method in Outputwrapper class.
    911
    1012Here is the full traceback of the error
Back to Top