ALT Linux Bugzilla
– Attachment 1670 Details for
Bug 10221
FR: Добавить два патча и обновить версию до 0.6.3а
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch for work with Python 2.3
pyExcelerator-0.6.3a-p23.patch (text/plain), 27.83 KB, created by
swi
on 2006-11-01 12:29:16 MSK
(
hide
)
Description:
patch for work with Python 2.3
Filename:
MIME Type:
Creator:
swi
Created:
2006-11-01 12:29:16 MSK
Size:
27.83 KB
patch
obsolete
>diff -ur pyExcelerator-0.6.3a/pyExcelerator/Column.py pyExcelerator-0.6.3a-p23fix/pyExcelerator/Column.py >--- pyExcelerator-0.6.3a/pyExcelerator/Column.py 2005-07-20 11:24:00.000000000 +0800 >+++ pyExcelerator-0.6.3a-p23fix/pyExcelerator/Column.py 2005-11-17 14:26:54.000000000 +0700 >@@ -49,7 +49,7 @@ > > > class Column(object): >- @accepts(object, int, Worksheet) >+ #accepts(object, int, Worksheet) > def __init__(self, indx, parent_sheet): > self._index = indx > self._parent = parent_sheet >diff -ur pyExcelerator-0.6.3a/pyExcelerator/Deco.py pyExcelerator-0.6.3a-p23fix/pyExcelerator/Deco.py >--- pyExcelerator-0.6.3a/pyExcelerator/Deco.py 2005-07-20 11:24:00.000000000 +0800 >+++ pyExcelerator-0.6.3a-p23fix/pyExcelerator/Deco.py 2005-11-17 14:29:07.000000000 +0700 >@@ -52,8 +52,8 @@ > if __name__ == '__main__': > import types > >- @returns(types.NoneType) >- @accepts(int, (int,float)) >+## @returns(types.NoneType) >+## @accepts(int, (int,float)) > def func(arg1, arg2): > #return str(arg1 * arg2) > pass >diff -ur pyExcelerator-0.6.3a/pyExcelerator/__init__.py pyExcelerator-0.6.3a-p23fix/pyExcelerator/__init__.py >--- pyExcelerator-0.6.3a/pyExcelerator/__init__.py 2005-08-11 12:53:00.000000000 +0800 >+++ pyExcelerator-0.6.3a-p23fix/pyExcelerator/__init__.py 2005-11-17 15:05:15.000000000 +0700 >@@ -5,8 +5,15 @@ > > import sys > if sys.version_info[:2] < (2, 4): >- print >>sys.stderr, "Sorry, pyExcelerator requires Python 2.4 or later" >- sys.exit(1) >+ def sorted(l, cmp=None, key=None, reverse=False): >+ tmp = list(l) >+ tmp.sort(cmp) >+ return tmp >+ import __builtin__ >+ __builtin__.sorted = sorted >+ del __builtin__ >+## print >>sys.stderr, "Sorry, pyExcelerator requires Python 2.4 or later" >+## sys.exit(1) > > > from Workbook import Workbook >diff -ur pyExcelerator-0.6.3a/pyExcelerator/Row.py pyExcelerator-0.6.3a-p23fix/pyExcelerator/Row.py >--- pyExcelerator-0.6.3a/pyExcelerator/Row.py 2005-08-11 12:53:00.000000000 +0800 >+++ pyExcelerator-0.6.3a-p23fix/pyExcelerator/Row.py 2005-11-17 14:25:52.000000000 +0700 >@@ -150,7 +150,7 @@ > return self.__height_in_pixels > > >- @accepts(object, Style.XFStyle) >+ #accepts(object, Style.XFStyle) > def set_style(self, style): > self.__adjust_height(style) > self.__xf_index = self.__parent_wb.add_style(style) >@@ -204,7 +204,7 @@ > return self.__idx > > >- @accepts(object, int, (str, unicode, int, float, dt.datetime, dt.time, dt.date, ExcelFormula.Formula), Style.XFStyle) >+ #accepts(object, int, (str, unicode, int, float, dt.datetime, dt.time, dt.date, ExcelFormula.Formula), Style.XFStyle) > def write(self, col, label, style): > self.__adjust_height(style) > self.__adjust_bound_col_idx(col) >@@ -221,7 +221,7 @@ > else: > self.__cells.extend([ Cell.FormulaCell(self, col, self.__parent_wb.add_style(style), label) ]) > >- @accepts(object, int, int, Style.XFStyle) >+ #accepts(object, int, int, Style.XFStyle) > def write_blanks(self, c1, c2, style): > self.__adjust_height(style) > self.__adjust_bound_col_idx(c1, c2) >diff -ur pyExcelerator-0.6.3a/pyExcelerator/Workbook.py pyExcelerator-0.6.3a-p23fix/pyExcelerator/Workbook.py >--- pyExcelerator-0.6.3a/pyExcelerator/Workbook.py 2005-10-26 11:44:00.000000000 +0800 >+++ pyExcelerator-0.6.3a-p23fix/pyExcelerator/Workbook.py 2005-11-17 14:24:27.000000000 +0700 >@@ -95,7 +95,7 @@ > ################################################################# > ## Constructor > ################################################################# >- @accepts(object) >+ #accepts(object) > def __init__(self): > self.__owner = 'None' > self.__country_code = 0x07 >@@ -133,7 +133,7 @@ > ## Properties, "getters", "setters" > ################################################################# > >- @accepts(object, str) >+ #accepts(object, str) > def set_owner(self, value): > self.__owner = value > >@@ -144,7 +144,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_country_code(self, value): > self.__country_code = value > >@@ -155,7 +155,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_wnd_protect(self, value): > self.__wnd_protect = int(value) > >@@ -166,7 +166,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_obj_protect(self, value): > self.__obj_protect = int(value) > >@@ -177,7 +177,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_protect(self, value): > self.__protect = int(value) > >@@ -188,7 +188,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_backup_on_save(self, value): > self.__backup_on_save = int(value) > >@@ -199,7 +199,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_hpos(self, value): > self.__hpos_twips = value & 0xFFFF > >@@ -210,7 +210,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_vpos(self, value): > self.__vpos_twips = value & 0xFFFF > >@@ -221,7 +221,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_width(self, value): > self.__width_twips = value & 0xFFFF > >@@ -232,7 +232,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_height(self, value): > self.__height_twips = value & 0xFFFF > >@@ -243,7 +243,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_active_sheet(self, value): > self.__active_sheet = value & 0xFFFF > self.__first_tab_index = self.__active_sheet >@@ -255,7 +255,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_tab_width(self, value): > self.__tab_width_twips = value & 0xFFFF > >@@ -266,7 +266,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_wnd_visible(self, value): > self.__wnd_hidden = int(not value) > >@@ -277,7 +277,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_wnd_mini(self, value): > self.__wnd_mini = int(value) > >@@ -288,7 +288,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_hscroll_visible(self, value): > self.__hscroll_visible = int(value) > >@@ -299,7 +299,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_vscroll_visible(self, value): > self.__vscroll_visible = int(value) > >@@ -310,7 +310,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_tabs_visible(self, value): > self.__tabs_visible = int(value) > >@@ -321,7 +321,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_dates_1904(self, value): > self.__dates_1904 = int(value) > >@@ -332,7 +332,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_use_cell_values(self, value): > self.__use_cell_values = int(value) > >@@ -352,25 +352,25 @@ > ## Methods > ################################################################## > >- @accepts(object, Style.XFStyle) >+ #accepts(object, Style.XFStyle) > def add_style(self, style): > return self.__styles.add(style) > >- @accepts(object, (str, unicode)) >+ #accepts(object, (str, unicode)) > def add_str(self, s): > return self.__sst.add_str(s) > >- @accepts(object, str) >+ #accepts(object, str) > def str_index(self, s): > return self.__sst.str_index(s) > >- @accepts(object, (str, unicode)) >+ #accepts(object, (str, unicode)) > def add_sheet(self, sheetname): > import Worksheet > self.__worksheets.append(Worksheet.Worksheet(sheetname, self)) > return self.__worksheets[-1] > >- @accepts(object, int) >+ #accepts(object, int) > def get_sheet(self, sheetnum): > return self.__worksheets[sheetnum] > >diff -ur pyExcelerator-0.6.3a/pyExcelerator/Worksheet.py pyExcelerator-0.6.3a-p23fix/pyExcelerator/Worksheet.py >--- pyExcelerator-0.6.3a/pyExcelerator/Worksheet.py 2005-10-26 11:44:00.000000000 +0800 >+++ pyExcelerator-0.6.3a-p23fix/pyExcelerator/Worksheet.py 2005-11-17 14:25:14.000000000 +0700 >@@ -91,7 +91,7 @@ > ################################################################# > ## Constructor > ################################################################# >- @accepts(object, (str, unicode), Workbook) >+ #accepts(object, (str, unicode), Workbook) > def __init__(self, sheetname, parent_book): > import Row > self.Row = Row.Row >@@ -197,7 +197,7 @@ > ## Properties, "getters", "setters" > ################################################################# > >- @accepts(object, (str, unicode)) >+ #accepts(object, (str, unicode)) > def set_name(self, value): > self.__name = value > >@@ -243,7 +243,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_formulas(self, value): > self.__show_formulas = int(value) > >@@ -254,7 +254,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_grid(self, value): > self.__show_grid = int(value) > >@@ -265,7 +265,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_headers(self, value): > self.__show_headers = int(value) > >@@ -276,7 +276,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_panes_frozen(self, value): > self.__panes_frozen = int(value) > >@@ -287,7 +287,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_empty_as_zero(self, value): > self.__show_empty_as_zero = int(value) > >@@ -298,7 +298,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_auto_colour_grid(self, value): > self.__auto_colour_grid = int(value) > >@@ -309,7 +309,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_cols_right_to_left(self, value): > self.__cols_right_to_left = int(value) > >@@ -320,7 +320,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_outline(self, value): > self.__show_outline = int(value) > >@@ -331,7 +331,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_remove_splits(self, value): > self.__remove_splits = int(value) > >@@ -342,7 +342,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_selected(self, value): > self.__selected = int(value) > >@@ -353,7 +353,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_hidden(self, value): > self.__hidden = int(value) > >@@ -364,7 +364,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_page_preview(self, value): > self.__page_preview = int(value) > >@@ -375,7 +375,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_first_visible_row(self, value): > self.__first_visible_row = value > >@@ -386,7 +386,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_first_visible_col(self, value): > self.__first_visible_col = value > >@@ -397,7 +397,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_grid_colour(self, value): > self.__grid_colour = value > >@@ -408,7 +408,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_preview_magn(self, value): > self.__preview_magn = value > >@@ -419,7 +419,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_normal_magn(self, value): > self.__normal_magn = value > >@@ -430,7 +430,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_vert_split_pos(self, value): > self.__vert_split_pos = abs(value) > >@@ -441,7 +441,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_horz_split_pos(self, value): > self.__horz_split_pos = abs(value) > >@@ -452,7 +452,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_vert_split_first_visible(self, value): > self.__vert_split_first_visible = abs(value) > >@@ -463,7 +463,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_horz_split_first_visible(self, value): > self.__horz_split_first_visible = abs(value) > >@@ -474,7 +474,7 @@ > > ################################################################# > >- #@accepts(object, int) >+ ##accepts(object, int) > #def set_split_active_pane(self, value): > # self.__split_active_pane = abs(value) & 0x03 > # >@@ -485,7 +485,7 @@ > > ################################################################# > >- #@accepts(object, int) >+ ##accepts(object, int) > #def set_row_gut_width(self, value): > # self.__row_gut_width = value > # >@@ -496,7 +496,7 @@ > # > ################################################################# > # >- #@accepts(object, int) >+ ##accepts(object, int) > #def set_col_gut_height(self, value): > # self.__col_gut_height = value > # >@@ -507,7 +507,7 @@ > # > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_auto_page_breaks(self, value): > self.__show_auto_page_breaks = int(value) > >@@ -518,7 +518,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_dialogue_sheet(self, value): > self.__dialogue_sheet = int(value) > >@@ -529,7 +529,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_auto_style_outline(self, value): > self.__auto_style_outline = int(value) > >@@ -540,7 +540,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_outline_below(self, value): > self.__outline_below = int(value) > >@@ -551,7 +551,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_outline_right(self, value): > self.__outline_right = int(value) > >@@ -562,7 +562,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_fit_num_pages(self, value): > self.__fit_num_pages = value > >@@ -573,7 +573,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_row_outline(self, value): > self.__show_row_outline = int(value) > >@@ -584,7 +584,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_show_col_outline(self, value): > self.__show_col_outline = int(value) > >@@ -595,7 +595,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_alt_expr_eval(self, value): > self.__alt_expr_eval = int(value) > >@@ -606,7 +606,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_alt_formula_entries(self, value): > self.__alt_formula_entries = int(value) > >@@ -617,7 +617,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_row_default_height(self, value): > self.__row_default_height = value > >@@ -628,7 +628,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_col_default_width(self, value): > self.__col_default_width = value > >@@ -639,7 +639,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_calc_mode(self, value): > self.__calc_mode = value & 0x03 > >@@ -650,7 +650,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_calc_count(self, value): > self.__calc_count = value > >@@ -661,7 +661,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_RC_ref_mode(self, value): > self.__RC_ref_mode = int(value) > >@@ -672,7 +672,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_iterations_on(self, value): > self.__iterations_on = int(value) > >@@ -683,7 +683,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_delta(self, value): > self.__delta = value > >@@ -694,7 +694,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_save_recalc(self, value): > self.__save_recalc = int(value) > >@@ -705,7 +705,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_headers(self, value): > self.__print_headers = int(value) > >@@ -716,7 +716,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_grid(self, value): > self.__print_grid = int(value) > >@@ -727,7 +727,7 @@ > > ################################################################# > # >- #@accepts(object, bool) >+ ##accepts(object, bool) > #def set_grid_set(self, value): > # self.__grid_set = int(value) > # >@@ -738,7 +738,7 @@ > # > ################################################################# > >- @accepts(object, list) >+ #accepts(object, list) > def set_vert_page_breaks(self, value): > self.__vert_page_breaks = value > >@@ -749,7 +749,7 @@ > > ################################################################# > >- @accepts(object, list) >+ #accepts(object, list) > def set_horz_page_breaks(self, value): > self.__horz_page_breaks = value > >@@ -760,7 +760,7 @@ > > ################################################################# > >- @accepts(object, (str, unicode)) >+ #accepts(object, (str, unicode)) > def set_header_str(self, value): > self.__header_str = value > >@@ -771,7 +771,7 @@ > > ################################################################# > >- @accepts(object, (str, unicode)) >+ #accepts(object, (str, unicode)) > def set_footer_str(self, value): > self.__footer_str = value > >@@ -782,7 +782,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_centered_vert(self, value): > self.__print_centered_vert = int(value) > >@@ -793,7 +793,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_centered_horz(self, value): > self.__print_centered_horz = int(value) > >@@ -804,7 +804,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_left_margin(self, value): > self.__left_margin = value > >@@ -815,7 +815,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_right_margin(self, value): > self.__right_margin = value > >@@ -826,7 +826,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_top_margin(self, value): > self.__top_margin = value > >@@ -837,7 +837,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_bottom_margin(self, value): > self.__bottom_margin = value > >@@ -848,7 +848,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_paper_size_code(self, value): > self.__paper_size_code = value > >@@ -859,7 +859,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_print_scaling(self, value): > self.__print_scaling = value > >@@ -870,7 +870,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_start_page_number(self, value): > self.__start_page_number = value > >@@ -881,7 +881,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_fit_width_to_pages(self, value): > self.__fit_width_to_pages = value > >@@ -892,7 +892,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_fit_height_to_pages(self, value): > self.__fit_height_to_pages = value > >@@ -903,7 +903,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_in_rows(self, value): > self.__print_in_rows = int(value) > >@@ -914,7 +914,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_portrait(self, value): > self.__portrait = int(value) > >@@ -925,7 +925,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_colour(self, value): > self.__print_not_colour = int(not value) > >@@ -936,7 +936,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_draft(self, value): > self.__print_draft = int(value) > >@@ -947,7 +947,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_notes(self, value): > self.__print_notes = int(value) > >@@ -958,7 +958,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_notes_at_end(self, value): > self.__print_notes_at_end = int(value) > >@@ -969,7 +969,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_print_omit_errors(self, value): > self.__print_omit_errors = int(value) > >@@ -980,7 +980,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_print_hres(self, value): > self.__print_hres = value > >@@ -991,7 +991,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_print_vres(self, value): > self.__print_vres = value > >@@ -1002,7 +1002,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_header_margin(self, value): > self.__header_margin = value > >@@ -1013,7 +1013,7 @@ > > ################################################################# > >- @accepts(object, float) >+ #accepts(object, float) > def set_footer_margin(self, value): > self.__footer_margin = value > >@@ -1024,7 +1024,7 @@ > > ################################################################# > >- @accepts(object, int) >+ #accepts(object, int) > def set_copies_num(self, value): > self.__copies_num = value > >@@ -1035,7 +1035,7 @@ > > ################################################################## > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_wnd_protect(self, value): > self.__wnd_protect = int(value) > >@@ -1046,7 +1046,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_obj_protect(self, value): > self.__obj_protect = int(value) > >@@ -1057,7 +1057,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_protect(self, value): > self.__protect = int(value) > >@@ -1068,7 +1068,7 @@ > > ################################################################# > >- @accepts(object, bool) >+ #accepts(object, bool) > def set_scen_protect(self, value): > self.__scen_protect = int(value) > >@@ -1079,7 +1079,7 @@ > > ################################################################# > >- @accepts(object, str) >+ #accepts(object, str) > def set_password(self, value): > self.__password = value >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10221
: 1670 |
1671