Commit 689cb9c
committed
Do not break in verbose mode if using FileUtils with a frozen object
If FileUtils is included into another object, and verbose mode is
used, a FrozenError is currently raised unless the object has the
@fileutils_output and @fileutils_label instance variables.
This fixes things so that it does not attempt to set the instance
variables, but it still uses them if they are present.1 parent 106ddaa commit 689cb9c
2 files changed
+30
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1602 | 1602 | | |
1603 | 1603 | | |
1604 | 1604 | | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | 1605 | | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
1612 | 1612 | | |
1613 | 1613 | | |
1614 | 1614 | | |
| |||
1689 | 1689 | | |
1690 | 1690 | | |
1691 | 1691 | | |
1692 | | - | |
1693 | | - | |
1694 | 1692 | | |
1695 | 1693 | | |
1696 | 1694 | | |
| |||
1714 | 1712 | | |
1715 | 1713 | | |
1716 | 1714 | | |
1717 | | - | |
1718 | | - | |
1719 | 1715 | | |
1720 | 1716 | | |
1721 | 1717 | | |
| |||
1740 | 1736 | | |
1741 | 1737 | | |
1742 | 1738 | | |
1743 | | - | |
1744 | | - | |
1745 | 1739 | | |
1746 | 1740 | | |
1747 | 1741 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
1634 | 1635 | | |
1635 | 1636 | | |
1636 | 1637 | | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
1637 | 1661 | | |
1638 | 1662 | | |
1639 | 1663 | | |
| |||
0 commit comments