convert: remove unused-but-set variable introduced in db9e883566e8
authorYuya Nishihara <yuya@tcha.org>
Sun, 18 Dec 2016 16:20:04 +0900
changeset 30622 32a07b8a9f77
parent 30621 6f9fcd29e290
child 30623 201b44c8875c
convert: remove unused-but-set variable introduced in db9e883566e8 Spotted by pyflakes.
hgext/convert/p4.py
--- a/hgext/convert/p4.py	Sat Dec 17 20:24:46 2016 +0530
+++ b/hgext/convert/p4.py	Sun Dec 18 16:20:04 2016 +0900
@@ -302,8 +302,6 @@
         `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 = []