# HG changeset patch # User Yuya Nishihara # Date 2016-12-18 07:20:04 # Node ID 32a07b8a9f77d62e98a834bf44236829a55c6b24 # Parent 6f9fcd29e29016587a5a7ac3157baec3eb39a134 convert: remove unused-but-set variable introduced in db9e883566e8 Spotted by pyflakes. diff --git a/hgext/convert/p4.py b/hgext/convert/p4.py --- a/hgext/convert/p4.py +++ b/hgext/convert/p4.py @@ -302,8 +302,6 @@ class p4_source(common.converter_source) `p4 describe` output """ desc = self.recode(obj.get("desc", "")) - shortdesc = desc.split("\n", 1)[0] - date = (int(obj["time"]), 0) # timezone not set if parents is None: parents = []