← Back to team overview

gwibber-bugs team mailing list archive

[Bug 1012305] [NEW] Error in Docstring in Flickr plugin

 

Public bug reported:

The lines 47 -52 in the gwibber/microblog/plugins/flickr/__init__.py
file in the 3.6 branch states:

""" Parses messages into gwibber compatible forms.
 48    Args:
 49      data: A data object obtained from Twitter containing a complete tweet
 50    Returns:
 51      m: A data object compatible with inserting into the Gwibber database for that tweet
 52    """

Seems like a copy and paste error from the Twitter plug in.

If it's an error, I can fix it since I am currently working on the
Docstrings. Just let me know how it's supposed to read.

** Affects: gwibber
     Importance: Undecided
         Status: New


** Tags: docstring typo

** Description changed:

  The lines 47 -52 in the gwibber/microblog/plugins/flickr/__init__.py
  file states:
  
  """ Parses messages into gwibber compatible forms.
-  48    Args: 
-  49      data: A data object obtained from Twitter containing a complete tweet
-  50    Returns: 
-  51      m: A data object compatible with inserting into the Gwibber database for that tweet
-  52    """
+  48    Args:
+  49      data: A data object obtained from Twitter containing a complete tweet
+  50    Returns:
+  51      m: A data object compatible with inserting into the Gwibber database for that tweet
+  52    """
  
  Seems like a copy and paste error from the Twitter plug in.
  
  If it's an error, I can fix it since I am currently working on the
- Docstrings.
+ Docstrings. Just let me know how it's supposed to read.

** Description changed:

  The lines 47 -52 in the gwibber/microblog/plugins/flickr/__init__.py
- file states:
+ file in the 3.6 branch states:
  
  """ Parses messages into gwibber compatible forms.
   48    Args:
   49      data: A data object obtained from Twitter containing a complete tweet
   50    Returns:
   51      m: A data object compatible with inserting into the Gwibber database for that tweet
   52    """
  
  Seems like a copy and paste error from the Twitter plug in.
  
  If it's an error, I can fix it since I am currently working on the
  Docstrings. Just let me know how it's supposed to read.

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/1012305

Title:
  Error in Docstring in Flickr plugin

Status in Gwibber:
  New

Bug description:
  The lines 47 -52 in the gwibber/microblog/plugins/flickr/__init__.py
  file in the 3.6 branch states:

  """ Parses messages into gwibber compatible forms.
   48    Args:
   49      data: A data object obtained from Twitter containing a complete tweet
   50    Returns:
   51      m: A data object compatible with inserting into the Gwibber database for that tweet
   52    """

  Seems like a copy and paste error from the Twitter plug in.

  If it's an error, I can fix it since I am currently working on the
  Docstrings. Just let me know how it's supposed to read.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/1012305/+subscriptions


Follow ups

References