[Nitro] OG [PATCH]: Avoid setting OGTABLE if already initialized

Mark Van De Vyver mvyver at gmail.com
Wed Sep 19 03:10:21 EDT 2007


Scenario: In a spec file, an 'OG class' is present outside of a
describe statement.
Effect: Patch eliminates the following warnings from spec's:
.../usr/src/nitro-repo/script/lib/../../og/lib/og/store/sql.rb:268:
warning: already initialized constant OGTABLE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvdv-20070919-1
Type: application/octet-stream
Size: 65199 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20070919/1e0ed33c/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mvdv-20070919-1.tar.gz
Type: application/x-gzip
Size: 17866 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20070919/1e0ed33c/attachment-0001.gz 


More information about the Nitro-general mailing list