Skip to content

Commit 885c832

Browse files
committed
Remove code comments to stackoverflow posts. Thankfully, none of these are copied (http://meta.stackexchange.com/questions/139698/re-using-ideas-or-small-pieces-of-code-from-stackoverflow-com/#comment395597_139701). However, if they were, they'd be subject to the virality of the CC BY-SA 3.0 license.
1 parent a6471cc commit 885c832

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

tmuxp/cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,6 @@ def get_parser():
915915

916916
import_tmuxinator.set_defaults(callback=command_import_tmuxinator)
917917

918-
# http://stackoverflow.com/questions/8521612/argparse-optional-subparser
919918
parser.add_argument(
920919
'-v', '--version', action='version',
921920
version='tmuxp %s' % __version__,

tmuxp/exc.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@
1616

1717
class TmuxpException(Exception):
1818

19-
"""Base Exception for Tmuxp Errors.
20-
21-
Also for Python 2.6 compat:
22-
http://stackoverflow.com/a/6029838
23-
24-
"""
19+
"""Base Exception for Tmuxp Errors."""
2520

2621

2722
class TmuxSessionExists(TmuxpException):

tmuxp/server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ def _list_windows(self):
207207
w['window_id'] = w['window_name']
208208

209209
if self._windows:
210-
# http://stackoverflow.com/a/14465359
211210
self._windows[:] = []
212211

213212
self._windows.extend(windows)
@@ -268,7 +267,6 @@ def _list_panes(self):
268267
]
269268

270269
if self._panes:
271-
# http://stackoverflow.com/a/14465359
272270
self._panes[:] = []
273271

274272
self._panes.extend(panes)

0 commit comments

Comments
 (0)