From: "Sergey Y. Afonin" <asy@altlinux.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] python.req.py ( сборка mysql-workbench 5.2.25) Date: Fri, 9 Jul 2010 14:48:57 +0400 Message-ID: <201007091448.57378.asy@altlinux.ru> (raw) In-Reply-To: <20100709102846.GE23050@altlinux.org> On Friday 09 July 2010, Alexey Tourbin wrote: > > Этот shell_snippets.py - какой-то кусок кода для внутреннего использования, > > на сколько я понимаю. Если я в %add_python_req_skip добавлю shell_snippets.py, > > он пропустится ? > > Вас случайно не интересует вопрос, там правда есть синтаксическая > оишибка в питоньем коде или нет ? Честно говоря, меня больше интересуют другие свойства mysql-workbench, а Питон я не знаю вообще и планов по изучению у меня не было. > Понимаете, если там синтаксическая ошибка, то надо бы ее исправить. По идее да. Но у меня есть ощущение, нет там ошибок, а это просто кусок кода, который куда-то вставляется. Ни подключения библиотек, ни описаний переменных, как в других скриптах, там нет. Собственно, чтобы два раза не вставать, это всё, что там есть: ============================================= # iterate through all schemas for schema in grt.root.wb.doc.physicalModels[0].catalog.schemata: print schema.name # iterate through all tables from schema schema = grt.root.wb.doc.physicalModels[0].catalog.schemata[0] for table in schema.tables: print table.name # iterate through columns from schema schema = grt.root.wb.doc.physicalModels[0].catalog.schemata[0] for table in schema.tables: for column in table.columns: print table.name, column.name # iterate through all figures of a diagram diagram = grt.root.wb.doc.physicalModels[0].diagram for figure in diagram.figures: print figure.__grtclassname__, figure.left, figure.top ============================================== -- С уважением, Сергей Афонин asy@altlinux.ru
next prev parent reply other threads:[~2010-07-09 10:48 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-09 5:44 Sergey Y. Afonin 2010-07-09 10:28 ` Alexey Tourbin 2010-07-09 10:48 ` Sergey Y. Afonin [this message] 2010-07-09 11:00 ` Alexey Tourbin 2010-07-09 11:10 ` Sergey Y. Afonin 2010-07-09 11:30 ` Alexey Tourbin 2010-07-09 11:52 ` Sergey Y. Afonin 2010-07-09 17:05 ` Alexey Tourbin 2010-07-12 7:30 ` Sergey Y. Afonin 2010-07-12 7:41 ` Sergey Y. Afonin 2010-07-09 12:20 ` Sergei Epiphanov 2010-07-09 18:42 ` Andrey Rahmatullin 2010-07-12 7:36 ` Sergey Y. Afonin 2010-07-13 11:56 ` Sergey Y. Afonin 2010-07-14 2:19 ` REAL 2010-07-14 11:16 ` Sergey Y. Afonin 2010-07-14 15:54 ` Sergey Y. Afonin 2010-07-09 12:40 ` Sergei Epiphanov 2010-07-12 7:12 ` Sergey Y. Afonin 2010-07-12 7:29 ` Andrey Rahmatullin 2010-07-12 7:46 ` Sergey Y. Afonin 2010-07-12 7:52 ` Andrey Rahmatullin 2010-07-14 16:02 ` Sergey Y. Afonin 2010-07-14 16:08 ` Alexey I. Froloff 2010-07-14 16:21 ` Sergey Y. Afonin 2010-07-14 16:23 ` Andrey Rahmatullin 2010-07-14 16:32 ` Alexey I. Froloff 2010-07-14 16:36 ` Andrey Rahmatullin 2010-07-14 16:51 ` Sergey Y. Afonin 2010-07-16 6:11 ` Sergey Y. Afonin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201007091448.57378.asy@altlinux.ru \ --to=asy@altlinux.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git