summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/console.py3
-rw-r--r--ranger/gui/widgets/filelistcontainer.py1
-rw-r--r--ranger/gui/widgets/notify.py1
-rw-r--r--ranger/gui/widgets/pager.py5
-rw-r--r--ranger/gui/widgets/process_manager.py1
-rw-r--r--ranger/gui/widgets/statusbar.py1
-rw-r--r--ranger/gui/widgets/titlebar.py3
7 files changed, 1 insertions, 14 deletions
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py
index 9abc2f7c..2d3f9b4c 100644
--- a/ranger/gui/widgets/console.py
+++ b/ranger/gui/widgets/console.py
@@ -1,7 +1,7 @@
 """The Console widget implements a vim-like console for entering
 commands, searching and executing files."""
 from . import Widget
-from ranger import commands, log
+from ranger import commands
 from ranger.gui.widgets.console_mode import is_valid_mode, mode_to_class
 import curses
 from collections import deque
@@ -456,7 +456,6 @@ class QuickOpenConsole(ConsoleWithTab):
 	def _get_tab(self):
 		if ' ' not in self.line:
 			all_apps = self.fm.apps.all()
-			log(all_apps)
 			if all_apps:
 				return (app for app in all_apps if app.startswith(self.line))
 
diff --git a/ranger/gui/widgets/filelistcontainer.py b/ranger/gui/widgets/filelistcontainer.py
index 53cbf064..494a3e0f 100644
--- a/ranger/gui/widgets/filelistcontainer.py
+++ b/ranger/gui/widgets/filelistcontainer.py
@@ -3,7 +3,6 @@ from . import Widget
 from .filelist import FileList
 from .pager import Pager
 from ..displayable import DisplayableContainer
-from ranger import log
 
 class FileListContainer(Widget, DisplayableContainer):
 	ratios = None
diff --git a/ranger/gui/widgets/notify.py b/ranger/gui/widgets/notify.py
index 2dc56fb1..bb159ea7 100644
--- a/ranger/gui/widgets/notify.py
+++ b/ranger/gui/widgets/notify.py
@@ -3,7 +3,6 @@
 from . import Widget
 from time import time
 from collections import deque
-from ranger import log
 
 class Notify(Widget):
 	requested_height = 0
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index ffcd06c5..2b8d73a4 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -1,7 +1,6 @@
 """
 The pager displays text and allows you to scroll inside it.
 """
-from ranger import log
 from . import Widget
 from ranger.container.commandlist import CommandList
 from ranger.ext.move import move_between
@@ -54,14 +53,10 @@ class Pager(Widget):
 			i += relative
 
 		length = len(self.lines) - self.hei - 1
-		log('before: ' + str(length))
-
 		if i >= length:
 			self._get_line(i+self.hei)
 
 		length = len(self.lines) - self.hei - 1
-		log('after: ' + str(length))
-
 		if i >= length:
 			i = length
 
diff --git a/ranger/gui/widgets/process_manager.py b/ranger/gui/widgets/process_manager.py
index baf4f2ba..f0954a9e 100644
--- a/ranger/gui/widgets/process_manager.py
+++ b/ranger/gui/widgets/process_manager.py
@@ -6,7 +6,6 @@ import curses
 
 from . import Widget
 from ranger.ext.accumulator import Accumulator
-from ranger import log
 from ranger.container import CommandList
 from collections import deque
 
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 741e80fd..4cfbea7b 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -4,7 +4,6 @@ some additional info about the current directory on the right side.
 """
 
 from . import Widget
-from ranger import log
 from pwd import getpwuid
 from grp import getgrgid
 from os import getuid
diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py
index 9e370b72..f3377d08 100644
--- a/ranger/gui/widgets/titlebar.py
+++ b/ranger/gui/widgets/titlebar.py
@@ -2,7 +2,6 @@
 information."""
 
 from . import Widget
-from ranger import log
 from math import floor
 
 class TitleBar(Widget):
@@ -126,9 +125,7 @@ class Bar(object):
 		rightsize = self.right.sumsize()
 		nonfixed_items = self.left.nonfixed_items()
 
-#		log(leftsize, fixedsize, nonfixed_items)
 		itemsize = int(float(wid - rightsize - fixedsize) / nonfixed_items) + 1
-#		log(itemsize)
 
 		for item in self.left:
 			if not item.fixed:
5 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781