hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
a1c537fffbff2de4f54cdf50b1a7e7a5eb0b3243
diff --git a/src/main/java/org/dita/dost/module/DebugAndFilterModule.java b/src/main/java/org/dita/dost/module/DebugAndFilterModule.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dita/dost/module/DebugAndFilterModule.java +++ b/src/main/java/org/dita/dost/module/DebugAndFilterModule.java @@ -170,33 +170,7 @@ ...
Separate subject scheme processing into a separate method
dita-ot_dita-ot
train
c76d60e0c124af0a71bcf52b863ac85f4d328c2f
diff --git a/tests/unit/test_widgets.py b/tests/unit/test_widgets.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_widgets.py +++ b/tests/unit/test_widgets.py @@ -5,7 +5,8 @@ from unittest import TestCase, skip from flask import Flask from wtforms import Form, TextField, IntegerField from wtforms.validators impo...
Add icon to external urls.
abilian_abilian-core
train
b04f705b43e8e421ccd745c0fa3bd0d3476eef68
diff --git a/lib/reterm/layout.rb b/lib/reterm/layout.rb index <HASH>..<HASH> 100644 --- a/lib/reterm/layout.rb +++ b/lib/reterm/layout.rb @@ -120,20 +120,11 @@ module RETerm raise ArgumentError, "must specify rows/cols" unless h.key?(:rows) && h.key?(:...
Tweak window and layout creation / size allocation, add helper method to fill window
movitto_reterm
train
7f4c5537073306cfee15234667a17127ae1d7db7
diff --git a/tofu/geom/_comp_optics.py b/tofu/geom/_comp_optics.py index <HASH>..<HASH> 100644 --- a/tofu/geom/_comp_optics.py +++ b/tofu/geom/_comp_optics.py @@ -465,6 +465,33 @@ def _calc_spect1d_from_data2d(ldata, lamb, phi, return spect1d_out, lambfit, phifit, vertsum1d, phiminmax +def binning(lamb, phi, d...
[Issue<I>] Started binning seriously, TODO: implement optional symmetry
ToFuProject_tofu
train
496a175a9f8d3e82de3f335e160e57321df7b934
diff --git a/src/Psalm/Internal/Analyzer/StatementsAnalyzer.php b/src/Psalm/Internal/Analyzer/StatementsAnalyzer.php index <HASH>..<HASH> 100644 --- a/src/Psalm/Internal/Analyzer/StatementsAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/StatementsAnalyzer.php @@ -1386,7 +1386,8 @@ class StatementsAnalyzer extends Source...
Fix #<I> - respect constants stubbed in define() calls
vimeo_psalm
train
d868cf6c73c719d518112033ff3fa2ba785b0128
diff --git a/webapps/cockpit/src/test/js/src/dashboard-scenarios.js b/webapps/cockpit/src/test/js/src/dashboard-scenarios.js index <HASH>..<HASH> 100644 --- a/webapps/cockpit/src/test/js/src/dashboard-scenarios.js +++ b/webapps/cockpit/src/test/js/src/dashboard-scenarios.js @@ -21,6 +21,10 @@ describe('cockpit dashboar...
test(dashboard): Add a further testcase This testcase tests whether the process definition key is used as the process definition name, when process definition name is not set. related to CAM-<I>
camunda_camunda-bpm-platform
train
c8d5ede94defba42e15688b577678f774cb94693
diff --git a/src/Combo.php b/src/Combo.php index <HASH>..<HASH> 100644 --- a/src/Combo.php +++ b/src/Combo.php @@ -84,6 +84,11 @@ class Combo extends InputWidget public $multiple; /** + * @var bool allow `Select All` button. Only if multiple is true + */ + public $selectAllButton = true; + + /...
Added `selectAllButton` prop for Combo to determine whether to show a `Select all` button
hiqdev_yii2-combo
train
4bbd9b2da207294bd5f1bf17363a6c60a76f6f6b
diff --git a/core/commands/log.go b/core/commands/log.go index <HASH>..<HASH> 100644 --- a/core/commands/log.go +++ b/core/commands/log.go @@ -3,12 +3,10 @@ package commands import ( "fmt" "io" - "strings" cmds "github.com/ipfs/go-ipfs/commands" + "github.com/ipfs/go-ipfs/thirdparty/eventlog" u "github.com/i...
fix log tail command License: MIT
ipfs_go-ipfs
train
b270c7233f8f58713a57a5ddfabffeca620f5096
diff --git a/presto-main/src/test/java/com/facebook/presto/operator/scalar/TestLambdaExpression.java b/presto-main/src/test/java/com/facebook/presto/operator/scalar/TestLambdaExpression.java index <HASH>..<HASH> 100644 --- a/presto-main/src/test/java/com/facebook/presto/operator/scalar/TestLambdaExpression.java +++ b/p...
Add support for zero-argument lambda expression This is pre-requisite for re-implementing try as a syntactic sugar.
prestodb_presto
train
1916a7794f4ad15c03b0d13ba35131d20cf4c2b2
diff --git a/workalendar/asia/china.py b/workalendar/asia/china.py index <HASH>..<HASH> 100644 --- a/workalendar/asia/china.py +++ b/workalendar/asia/china.py @@ -20,7 +20,7 @@ holidays = { 2019: { 'Ching Ming Festival': [(4, 5)], - 'Labour Day Holiday': [(5, 1)], + 'Lab...
<I> Labour Day Holiday Shift for China, update at <I> from chinese government.
peopledoc_workalendar
train
9685a4c877b59250fbeb1b7deedd126b5b86a37b
diff --git a/selendroid-server/src/main/java/io/selendroid/server/model/SelendroidDriver.java b/selendroid-server/src/main/java/io/selendroid/server/model/SelendroidDriver.java index <HASH>..<HASH> 100644 --- a/selendroid-server/src/main/java/io/selendroid/server/model/SelendroidDriver.java +++ b/selendroid-server/src/...
Clean up imports. No logical change.
selendroid_selendroid
train
274aa491c47be1ddf011db301533962be659794f
diff --git a/lib/hue_bridge/version.rb b/lib/hue_bridge/version.rb index <HASH>..<HASH> 100644 --- a/lib/hue_bridge/version.rb +++ b/lib/hue_bridge/version.rb @@ -1,3 +1,3 @@ module HueBridge - VERSION = "0.1.2" + VERSION = "0.1.3" end
Bumped version to <I>
kbredemeier_hue_bridge
train
9c8b57d1ad0f4fbc282cb81125bea35c38226773
diff --git a/supplement/hooks/pygtk/__init__.py b/supplement/hooks/pygtk/__init__.py index <HASH>..<HASH> 100644 --- a/supplement/hooks/pygtk/__init__.py +++ b/supplement/hooks/pygtk/__init__.py @@ -130,7 +130,7 @@ class OverrideModule(object): @property def module(self): - return None + retur...
fix: gtk docbook modules hide content from subpackage resolver
baverman_supplement
train
09f6f27a86bdc343437da3159852a6715f74b839
diff --git a/a10_neutron_lbaas/v2/handler_listener.py b/a10_neutron_lbaas/v2/handler_listener.py index <HASH>..<HASH> 100644 --- a/a10_neutron_lbaas/v2/handler_listener.py +++ b/a10_neutron_lbaas/v2/handler_listener.py @@ -116,7 +116,8 @@ class ListenerHandler(handler_base_v2.HandlerBaseV2): c.client.s...
send key passphrase to acos
a10networks_a10-neutron-lbaas
train
eb3f63889c889e1f112b81f507c0c584161b4312
diff --git a/lib/file-handlers/css.js b/lib/file-handlers/css.js index <HASH>..<HASH> 100644 --- a/lib/file-handlers/css.js +++ b/lib/file-handlers/css.js @@ -17,7 +17,7 @@ function loadCss (context, resource) { return context.loadResource(cssResource).then(function handleLoadedSource (loadedResource) { var re...
Fix replacing urls in css handler
website-scraper_node-website-scraper
train
2c5f9d8e9b20c6c5e0240c27ef6d6f0b0af8f0a1
diff --git a/circlator/external_progs.py b/circlator/external_progs.py index <HASH>..<HASH> 100644 --- a/circlator/external_progs.py +++ b/circlator/external_progs.py @@ -1,6 +1,8 @@ import re -from circlator import program +import sys +from circlator import program, common import shutil +import pyfastaq class Err...
Write version info etc to a file
sanger-pathogens_circlator
train
70bc23380887aed6383cf5e640d408c0cbeadfcb
diff --git a/mongoctl/mongoctl.py b/mongoctl/mongoctl.py index <HASH>..<HASH> 100644 --- a/mongoctl/mongoctl.py +++ b/mongoctl/mongoctl.py @@ -2356,11 +2356,14 @@ class Server(DocumentWrapper): # but there are no admin users yet if not self.needs_to_auth(dbname): return db - # If t...
Be more persistent in using credentials we already know ("admin" db), to initialize DBs with credentials we'd like them to have.
mongolab_mongoctl
train
28b2d3974c31e5d83e4822c7cb927e87bc972504
diff --git a/ELiDE/ELiDE/app.py b/ELiDE/ELiDE/app.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/app.py +++ b/ELiDE/ELiDE/app.py @@ -70,9 +70,8 @@ class ELiDEApp(App): (self.branch, self.tick) = self.engine.time pull_time = trigger(_pull_time) - def set_branch(self, b): - """Set my branch to...
Make ELiDE app object time travel in response to property changes And only property changes.
LogicalDash_LiSE
train
c6056219cbc24cf68e59e3d610e976b025eec625
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ if sys.version_info < (3, 0): setuptools.setup( name='sprockets.mixins.statsd', - version='1.0.2', + version='1.0.3', description='Handler mixins for automated metric reporting', long_des...
Wrap status_code as a string
sprockets_sprockets.mixins.statsd
train
0960fc01466d7708dfa3f6c59d7c32381f742e02
diff --git a/staff/__init__.py b/staff/__init__.py index <HASH>..<HASH> 100644 --- a/staff/__init__.py +++ b/staff/__init__.py @@ -1,7 +1,7 @@ __version_info__ = { 'major': 0, 'minor': 3, - 'micro': 2, + 'micro': 3, 'releaselevel': 'final', 'serial': 0 }
bumped the version to <I>
callowayproject_django-staff
train
2d04de0377aff41fa12188d7c5edf7dd6a47f1c6
diff --git a/forms/FormField.php b/forms/FormField.php index <HASH>..<HASH> 100644 --- a/forms/FormField.php +++ b/forms/FormField.php @@ -321,9 +321,9 @@ class FormField extends RequestHandler { * @param $class String */ public function removeExtraClass($class) { - if(isset($this->extraClasses) && array_key_e...
BUG FormField->removeExtraClass() works on indexed arrays Was assuming an associative map, which isn't the case in the current implementations.
silverstripe_silverstripe-framework
train
92ec23b4fb52a8dd3cd4bd129533510fd53fc39a
diff --git a/pymap/admin/__init__.py b/pymap/admin/__init__.py index <HASH>..<HASH> 100644 --- a/pymap/admin/__init__.py +++ b/pymap/admin/__init__.py @@ -5,7 +5,7 @@ import asyncio from argparse import ArgumentParser from asyncio import CancelledError from ssl import SSLContext -from typing import Type, Tuple, Sequ...
Default to no SSL for TCP listeners
icgood_pymap
train
ec94e5a97a730b027a0ec8f8f665e88574dd9ad9
diff --git a/components/dropdown/Dropdown.js b/components/dropdown/Dropdown.js index <HASH>..<HASH> 100644 --- a/components/dropdown/Dropdown.js +++ b/components/dropdown/Dropdown.js @@ -15,6 +15,7 @@ const factory = (Input) => { disabled: PropTypes.bool, error: PropTypes.string, label: PropTypes.s...
feat(dropdown): add support for name prop
react-toolbox_react-toolbox
train
fe59961a0f12bfeaf4d5f92e0cda3fe3b421af09
diff --git a/blockade/common/utils.py b/blockade/common/utils.py index <HASH>..<HASH> 100644 --- a/blockade/common/utils.py +++ b/blockade/common/utils.py @@ -52,6 +52,8 @@ def cache_items(values): import os config_path = os.path.expanduser('~/.config/blockade') file_path = os.path.join(config_path, 'cac...
Resolves bug (#3) by creating the cache file if it doesn't exist.
blockadeio_analyst_toolbench
train
773fc01612700784cf3f13cb06cf10d72f9a1f25
diff --git a/dbl/client.py b/dbl/client.py index <HASH>..<HASH> 100644 --- a/dbl/client.py +++ b/dbl/client.py @@ -269,6 +269,20 @@ class DBLClient: return bool(data['voted']) async def generate_widget(self, options: Dict[str, Union[str, Dict[str, int], bool]] = None) -> str: + """This function i...
Added docstring to generate_widget
DiscordBotList_DBL-Python-Library
train
2fa33ad98cfb77bbfc84e246b5cfcba947b16a2f
diff --git a/lib/fluent/plugin/buffer/chunk.rb b/lib/fluent/plugin/buffer/chunk.rb index <HASH>..<HASH> 100644 --- a/lib/fluent/plugin/buffer/chunk.rb +++ b/lib/fluent/plugin/buffer/chunk.rb @@ -49,7 +49,7 @@ module Fluent def initialize(metadata) super() @unique_id = generate_unique_id -...
Use mixeined method instead of `Fluent::UniqueId.hex`
fluent_fluentd
train
337e7550f6901dfd5a92dbc5750e8040fbeaa612
diff --git a/src/utilities/behaviors/JointCollisionEvents.js b/src/utilities/behaviors/JointCollisionEvents.js index <HASH>..<HASH> 100644 --- a/src/utilities/behaviors/JointCollisionEvents.js +++ b/src/utilities/behaviors/JointCollisionEvents.js @@ -10,24 +10,46 @@ window.altspace.utilities.behaviors = window.altspace...
Adding joint selection to the config.
AltspaceVR_AltspaceSDK
train
7b0619568f896e84fd2a2db6baed3d0c701386fc
diff --git a/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java b/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java index <HASH>..<HASH> 100644 --- a/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java +++ b/dev/com.ibm.ws.ssl/src/com/ibm/ws/ssl/config/WSKeyStore.java @@ -123,6 +123,8 @@ p...
Fill in password for racf types Fix setting
OpenLiberty_open-liberty
train
dd199f10091836aa362b2e9109b2f6a49b600a29
diff --git a/lib/lifx/light.rb b/lib/lifx/light.rb index <HASH>..<HASH> 100644 --- a/lib/lifx/light.rb +++ b/lib/lifx/light.rb @@ -87,6 +87,9 @@ module LIFX @label end + MAX_LABEL_LENGTH = 32 + class LabelTooLong < ArgumentError; end + # Sets the label of the light # @param label [String] ...
Move the label exception and constants closer to where they are used
LIFX_lifx-gem
train
0cb8f74c0f473a88d0ebdf140b755fdd06f133ac
diff --git a/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java b/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java index <HASH>..<HASH> 100644 --- a/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src...
Minor logsumexp fix for setting keepDims via reflection
deeplearning4j_deeplearning4j
train
d8daf51b046c1332eb2489000bcdd03ee2dd9772
diff --git a/Auth.php b/Auth.php index <HASH>..<HASH> 100644 --- a/Auth.php +++ b/Auth.php @@ -65,7 +65,7 @@ class Auth public function __construct(PDO $dbh, Config $config) { if (version_compare(phpversion(), '7.1.0', '<')) { - die($this->__lang("php_required")); + die($this->_...
Better use of translation tools, modification of wording and modification of translation fields
PHPAuth_PHPAuth
train
0e1131cdf89bc5614173e18b1e764478d96a9b07
diff --git a/src/main/java/com/panforge/robotstxt/Group.java b/src/main/java/com/panforge/robotstxt/Group.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/panforge/robotstxt/Group.java +++ b/src/main/java/com/panforge/robotstxt/Group.java @@ -77,13 +77,13 @@ class Group { /** * Select any access matc...
Improved matching for any user agent.
pandzel_RobotsTxt
train
b198dab599d53f7006d5e8eff05759c50d5f5466
diff --git a/Command/EventCommand.php b/Command/EventCommand.php index <HASH>..<HASH> 100644 --- a/Command/EventCommand.php +++ b/Command/EventCommand.php @@ -23,7 +23,9 @@ class EventCommand extends ContainerAwareCommand { $domain = $input->getArgument('domain'); - $uri = $this->getRouter()->gen...
add security token option for event endpoint route
KnpLabs_KnpMailjetBundle
train
a4e0e6f27377194de75fe67afd8e6bd9a5553f0c
diff --git a/lib/daybreak/db.rb b/lib/daybreak/db.rb index <HASH>..<HASH> 100644 --- a/lib/daybreak/db.rb +++ b/lib/daybreak/db.rb @@ -197,10 +197,11 @@ module Daybreak # @yield a block where every change to the database is synced def lock @mutex.synchronize do - # We need a flush before exclusi...
rename exclusive to with_flock
propublica_daybreak
train
036d1de741e569cdc390f738fb63605958b584d2
diff --git a/src/sap.ui.core/src/sap/ui/performance/FESR.js b/src/sap.ui.core/src/sap/ui/performance/FESR.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.core/src/sap/ui/performance/FESR.js +++ b/src/sap.ui.core/src/sap/ui/performance/FESR.js @@ -81,7 +81,7 @@ sap.ui.define(['sap/ui/thirdparty/URI', 'sap/ui/Device', 's...
[FIX] performance/Interaction: do not count cached requests As requests which are not sent to the backend should not be counted as network roundtrips, they are excluded from the according figures. BCP: <I> Change-Id: Ic<I>ebb<I>f<I>f<I>f<I>fccc<I>
SAP_openui5
train
39b1e4b4fafe497b060d4579cd0e31ebabe45f3a
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -608,10 +608,10 @@ const members = { let innerHTML = ''; const getHtmlNodeOuterHtml = (node) => node.outerHTML; - const getOuterHtmlByNodeType = { - 1: getHtmlNodeOuterHtml, - ...
style: Use constants for node type from Node instead of magic numbers.
skatejs_named-slots
train
cae4e8a77f3539a091899b911fcd60db0c815bfb
diff --git a/network/datadog_checks/network/network.py b/network/datadog_checks/network/network.py index <HASH>..<HASH> 100644 --- a/network/datadog_checks/network/network.py +++ b/network/datadog_checks/network/network.py @@ -44,11 +44,6 @@ class Network(AgentCheck): PSUTIL_FAMILY_MAPPING = {socket.AF_INET: '4'...
Use Agent 6 signature (#<I>) We don't need to override init at all here.
DataDog_integrations-core
train
ba4018b4cfd32e1d8983b26c5e3f6cae60604ca4
diff --git a/lib/rom/relation_builder.rb b/lib/rom/relation_builder.rb index <HASH>..<HASH> 100644 --- a/lib/rom/relation_builder.rb +++ b/lib/rom/relation_builder.rb @@ -1,6 +1,6 @@ module ROM # This class builds a ROM::Relation subclass and instantiates it by injecting - # dataset defined in the schema along wit...
Tweak class docs in RelationBuilder It does not use schema and header anymore.
rom-rb_rom
train
95e8f8da13fcc9706fde3738151a63741b24b551
diff --git a/scuba/__main__.py b/scuba/__main__.py index <HASH>..<HASH> 100644 --- a/scuba/__main__.py +++ b/scuba/__main__.py @@ -426,14 +426,14 @@ class ScubaDive: args += self.options - # Command-line -d - if self.docker_args: - args += self.docker_args - # .scuba.yml (...
Change order to append -d args after .scuba.yml args While this order seems to be more correct, I don't think it is something we need to guarantee, so I'm not adding a test.
JonathonReinhart_scuba
train
1437e8caf15eff7d2ab6cd7dc575fe242e694ece
diff --git a/lib/iso8601/duration.rb b/lib/iso8601/duration.rb index <HASH>..<HASH> 100644 --- a/lib/iso8601/duration.rb +++ b/lib/iso8601/duration.rb @@ -84,13 +84,19 @@ module ISO8601 # return d1 - d2 end + # Convenience method to turn instance method (which can take into + # account a base ti...
Fixed typo in seconds_to_iso, added class method for convenience.
arnau_ISO8601
train
c3c84ff09cd286b303bb3add4852878164f25d9e
diff --git a/.travis.yml b/.travis.yml index <HASH>..<HASH> 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo rm wkhtmltox-0.12.3_osx-cocoa-x86-64.pkg ; fi go: - tip + - 1.9 - 1.8 - - 1.7 script: go test -v -coverprofile=coverage.t...
add mutex to global path now that we can change it during execution, add go <I> to Travis CI
SebastiaanKlippert_go-wkhtmltopdf
train
ca208cfd595650e77667d2fec7d22fe13f95397c
diff --git a/thinc/config.py b/thinc/config.py index <HASH>..<HASH> 100644 --- a/thinc/config.py +++ b/thinc/config.py @@ -142,6 +142,7 @@ class registry(object): layers: Decorator = catalogue.create("thinc", "layers", entry_points=True) losses: Decorator = catalogue.create("thinc", "losses", entry_points=Tru...
stash concept for serializing tf subclassed models - use a self-contained declarative way of wrapping up the data needed to instantiate and forward/backward pass a given model. - with this info you can properly de/serialize subclassed models because the requirement of having the weights and a factory function are sa...
explosion_thinc
train
365d1a23de5f6a96f0df558cfe986e3f9995d16e
diff --git a/src/main/java/me/normanmaurer/niosmtp/client/callback/EhloResponseCallback.java b/src/main/java/me/normanmaurer/niosmtp/client/callback/EhloResponseCallback.java index <HASH>..<HASH> 100644 --- a/src/main/java/me/normanmaurer/niosmtp/client/callback/EhloResponseCallback.java +++ b/src/main/java/me/normanma...
minor change to use static SMTPException instances
normanmaurer_niosmtp
train
1fe8b1ad4b712beef082ff217d476a66d4f7a33f
diff --git a/src/core/flow.js b/src/core/flow.js index <HASH>..<HASH> 100644 --- a/src/core/flow.js +++ b/src/core/flow.js @@ -12,7 +12,7 @@ import { UpdateTurnOrderState, TurnOrder, } from './turn-order'; -import { ApplyPlugins } from './plugins/main'; +import { FnWrap } from './plugins/main'; import { automat...
rename ApplyPlugins to FnWrap
nicolodavis_boardgame.io
train
9f3b8206f435f8b720ff5e434aee4a55bad7de94
diff --git a/src/components/selects/mixins/generators.js b/src/components/selects/mixins/generators.js index <HASH>..<HASH> 100755 --- a/src/components/selects/mixins/generators.js +++ b/src/components/selects/mixins/generators.js @@ -16,7 +16,8 @@ export default { nudgeWidth: 25, maxHeight: this....
properly added top/bottom props to menu
vuetifyjs_vuetify
train
642d7133c7502ffd20b77c167e851e55a4a09691
diff --git a/hacking.py b/hacking.py index <HASH>..<HASH> 100755 --- a/hacking.py +++ b/hacking.py @@ -283,10 +283,12 @@ def check_i18n(): """ while True: try: - token_type, text, _, _, _ = yield + token_type, text, _, _, line = yield except GeneratorExit: ...
modify hacking.py to not choke on the def of _() recent openstack-common brought in it's own def of _() which trips up our checking that all _ calls contain a message string. This explicitly excludes the definition of this in function from that check. Fixes LP Bug #<I>. Change-Id: If<I>d<I>a5ae<I>bb2e<I>c<I>b<I>b<I...
openstack_hacking
train
8acacb1dfb53fd2ff3068a5b6840bd4909e4e01f
diff --git a/grakn-core/src/main/java/ai/grakn/kb/admin/GraknAdmin.java b/grakn-core/src/main/java/ai/grakn/kb/admin/GraknAdmin.java index <HASH>..<HASH> 100644 --- a/grakn-core/src/main/java/ai/grakn/kb/admin/GraknAdmin.java +++ b/grakn-core/src/main/java/ai/grakn/kb/admin/GraknAdmin.java @@ -172,6 +172,14 @@ public i...
Reveal shard count (#<I>) * Add method for revealing sharding threshold * Fix test * Use sharding threshold instead of the default value (#<I>)
graknlabs_grakn
train
509e5f6e71b750581e195e919e0e43b636dade08
diff --git a/odoorpc/error.py b/odoorpc/error.py index <HASH>..<HASH> 100644 --- a/odoorpc/error.py +++ b/odoorpc/error.py @@ -57,7 +57,7 @@ class RPCError(Error): ... odoo.execute('res.users', 'wrong_method') ... except odoorpc.error.RPCError as exc: ... exc.info['code'] == 200 - ...
[FIX] Doctest - 'odoorpc.error' package, message returned by a RPC error has changed
OCA_odoorpc
train
2b8904bf928b5730a172e63791eba6d452a89aff
diff --git a/scripts/bcbio_prepare_samples.py b/scripts/bcbio_prepare_samples.py index <HASH>..<HASH> 100755 --- a/scripts/bcbio_prepare_samples.py +++ b/scripts/bcbio_prepare_samples.py @@ -110,6 +110,7 @@ if __name__ == "__main__": config["algorithm"] = {"num_cores": args.cores_per_job} config["reso...
set log_dir to be inside working folder.
bcbio_bcbio-nextgen
train
b12d000c24c144fd65d4f36235c65c9cf6861814
diff --git a/gdspy/__init__.py b/gdspy/__init__.py index <HASH>..<HASH> 100644 --- a/gdspy/__init__.py +++ b/gdspy/__init__.py @@ -3832,7 +3832,7 @@ class GdsWriter(object): name.encode('ascii') + struct.pack('>2h', 20, 0x0305) + _eight_byte_real(precision / unit) + _eight_byte_real(precision)...
Add timestamp to other writing functions
heitzmann_gdspy
train
16ce063f007bc17672c6f83c637a60cef898b84b
diff --git a/docs/api/model_selection/validation_curve.rst b/docs/api/model_selection/validation_curve.rst index <HASH>..<HASH> 100644 --- a/docs/api/model_selection/validation_curve.rst +++ b/docs/api/model_selection/validation_curve.rst @@ -7,6 +7,14 @@ Model validation is used to determine how effective an estimator...
Make validation curve quickmethod primetime (#<I>) Refactor the validation_curve quick method to the new signature and verifies that it works correctly
DistrictDataLabs_yellowbrick
train
6f2722ad886672cee368b8b75cb4486ce19dce6f
diff --git a/lib/stormpath.js b/lib/stormpath.js index <HASH>..<HASH> 100644 --- a/lib/stormpath.js +++ b/lib/stormpath.js @@ -142,22 +142,27 @@ module.exports.init = function(app, opts) { // Build routes. if (app.get('stormpathEnableRegistration')) { + router.use(app.get('stormpathRegistrationUrl'), stormpa...
Moving our stormpathMiddleware to our routes. This fixes issues with this code running twice, and causing odd routing issues.
stormpath_express-stormpath
train
b6783d772d811df3067cfd021c2bfc3b2e2949f3
diff --git a/gg/mark.go b/gg/mark.go index <HASH>..<HASH> 100644 --- a/gg/mark.go +++ b/gg/mark.go @@ -7,6 +7,7 @@ package gg import ( "bytes" "encoding/base64" + "fmt" "image" "image/color" "image/png" @@ -277,13 +278,13 @@ func cssPaint(prop string, c color.Color) string { } r, g, b = r>>8, g>>8, b>>8 ...
gg: fix CSS color formatting I was failing to zero-pad the hex component to two digits.
aclements_go-gg
train
f9634ea2834113681d320bd95ef3dea696f218df
diff --git a/CliClient/app/command-e2ee.js b/CliClient/app/command-e2ee.js index <HASH>..<HASH> 100644 --- a/CliClient/app/command-e2ee.js +++ b/CliClient/app/command-e2ee.js @@ -4,22 +4,24 @@ const { cliUtils } = require('./cli-utils.js'); const EncryptionService = require('lib/services/EncryptionService'); const De...
CLI: Added e2ee command to check encryption status of a sync target
laurent22_joplin
train
fe46050a52a6c98b65f01e058dc2d035324c68e9
diff --git a/lib/reducers/create-otp-reducer.js b/lib/reducers/create-otp-reducer.js index <HASH>..<HASH> 100644 --- a/lib/reducers/create-otp-reducer.js +++ b/lib/reducers/create-otp-reducer.js @@ -121,6 +121,16 @@ export function getInitialState (userDefinedConfig, initialQuery) { if (config.locations) { loca...
fix(routerId): persist routerId across sessions fix #<I>
opentripplanner_otp-react-redux
train
8f0a94a1b909372f7e00377d80cb3fadf015e191
diff --git a/fcrepo-http-api/src/main/java/org/fcrepo/api/FedoraRepository.java b/fcrepo-http-api/src/main/java/org/fcrepo/api/FedoraRepository.java index <HASH>..<HASH> 100644 --- a/fcrepo-http-api/src/main/java/org/fcrepo/api/FedoraRepository.java +++ b/fcrepo-http-api/src/main/java/org/fcrepo/api/FedoraRepository.ja...
changed objectPath to uppercase
fcrepo4_fcrepo4
train
437ab0e41d3d69ff9a1ebb5e9d1ed7bdff3cdbc1
diff --git a/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/container/ContainerBase.java b/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/container/ContainerBase.java index <HASH>..<HASH> 100644 --- a/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/container/ContainerBase.java +++ b/impl-base/src...
[SHRINKWRAP-<I>] Allow ClassContainer.addClass(Class) to accept classes loaded from the Bootstrap CL
shrinkwrap_shrinkwrap
train
d61142f6aa71433d709af0bda997d6937498f07f
diff --git a/src/angular-youtube-embed.js b/src/angular-youtube-embed.js index <HASH>..<HASH> 100644 --- a/src/angular-youtube-embed.js +++ b/src/angular-youtube-embed.js @@ -1,9 +1,4 @@ -angular.module('youtube-embed', ['ng']).run(function () { - var tag = document.createElement('script'); - tag.src = "//www.you...
inject iFrame API from within service so that onYouTubeIframeAPIReady is definitely set first. fix #5
brandly_angular-youtube-embed
train
c8ad82704cf58a0f06406ceb785e2ba952081c6a
diff --git a/server/fsm.go b/server/fsm.go index <HASH>..<HASH> 100644 --- a/server/fsm.go +++ b/server/fsm.go @@ -651,7 +651,7 @@ func (h *FSMHandler) recvMessageWithError() (*FsmMsg, error) { case bgp.BGP_MSG_UPDATE: body := m.Body.(*bgp.BGPUpdate) confedCheck := !config.IsConfederationMember(h.fsm.gCon...
server: fix error propagation creating new `err` variable prevents proper error propagation which leads to wrongly contine reading BGP messages even after receiving an invalid update message.
osrg_gobgp
train
eed06996289552229761421e520e8753a439063f
diff --git a/rapidoid-jpa/src/main/java/org/rapidoid/jpa/dbplugin/JPADBPlugin.java b/rapidoid-jpa/src/main/java/org/rapidoid/jpa/dbplugin/JPADBPlugin.java index <HASH>..<HASH> 100644 --- a/rapidoid-jpa/src/main/java/org/rapidoid/jpa/dbplugin/JPADBPlugin.java +++ b/rapidoid-jpa/src/main/java/org/rapidoid/jpa/dbplugin/JP...
Improved the transaction management in the JPA DB plugin.
rapidoid_rapidoid
train
bfdaefef43e06fb75e34a81f023c1439e1b8c1a7
diff --git a/src/python/grpcio/grpc/_server.py b/src/python/grpcio/grpc/_server.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio/grpc/_server.py +++ b/src/python/grpcio/grpc/_server.py @@ -374,10 +374,10 @@ def _call_behavior(rpc_event, state, behavior, argument, request_deserializer): context = _Context(rpc...
Refactor: rename 'e' to 'exception'
grpc_grpc
train
b73993b299bf62cc0282c87e169d474cdb434034
diff --git a/NFA.py b/NFA.py index <HASH>..<HASH> 100644 --- a/NFA.py +++ b/NFA.py @@ -197,7 +197,8 @@ def nfa_nonemptiness_check(nfa: dict) -> dict: visited = set() for state in nfa['initial_states']: visited.add(state) - stack.append(state) + # stack.append(state) + stack.inser...
NFA nonemptiness tests , FIXED BFS stack element POPing (now FIFO, before LIFO)
Oneiroe_PySimpleAutomata
train
6ea96dcfea0bf4440dde4e86cc724aea84fa5eb6
diff --git a/lib/Predis.php b/lib/Predis.php index <HASH>..<HASH> 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -1269,42 +1269,76 @@ namespace Predis\Utilities; class HashRing { const DEFAULT_REPLICAS = 128; + const DEFAULT_WEIGHT = 100; private $_nodes, $_ring, $_ringKeys, $_replicas; pu...
Added support for optionally weighted nodes in the hashring.
nrk_predis
train
e5d8d6d9f3ae08ac5999736fe5e1b9913e4aa90c
diff --git a/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb b/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb index <HASH>..<HASH> 100644 --- a/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb +++ b/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb @@ -135,7 +135,7 @@ describe KnapsackPro::Runners::Qu...
Update rspec_runner_spec.rb
KnapsackPro_knapsack_pro-ruby
train
574fdba6f1880db11cc3bb9e7a4bd94b361f12fc
diff --git a/suite.go b/suite.go index <HASH>..<HASH> 100644 --- a/suite.go +++ b/suite.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/gobuffalo/buffalo" - "github.com/gobuffalo/buffalo/middleware" + "github.com/gobuffalo/buffalo/middleware/csrf" "github.com/markbates/willie" "github.com/stretchr/testify/s...
removed the deprecated CSRF calls
gobuffalo_suite
train
15c10e8c6bfac08aac54c8bf1e7e1872f0af95fd
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -47,7 +47,7 @@ mailinglist = "mailto:code-quality@python.org" author = 'Python Code Quality Authority' author_email = 'code-quality@python.org' -classifiers = ['Developme...
pylint is <I> years old, this is mature enough alright
PyCQA_pylint
train
49c8efe36c75ff5ba837a7364ebe12018cd103c9
diff --git a/src/Go/Aop/Support/AbstractChildCreator.php b/src/Go/Aop/Support/AbstractChildCreator.php index <HASH>..<HASH> 100644 --- a/src/Go/Aop/Support/AbstractChildCreator.php +++ b/src/Go/Aop/Support/AbstractChildCreator.php @@ -184,7 +184,8 @@ class AbstractChildCreator ksort($this->methodsCode); ...
#<I> preserve metainformation for overriden methods and classes. Need to use formatting for better look
goaop_framework
train
9d77f7177bb00d795adb1722ba6e0a860855bed1
diff --git a/src/Recipe.php b/src/Recipe.php index <HASH>..<HASH> 100644 --- a/src/Recipe.php +++ b/src/Recipe.php @@ -12,7 +12,10 @@ abstract class Recipe /** * Constructor. Recipes must be constructed with a user-supplied - * Twig_Environment, since we can't guess + * Twig_Environment, since we ...
add docblocks, and stubs for ask/options
codger-php_generate
train
34ab41e6b006d3cd8c17547379ddc702cab80383
diff --git a/web3/utils/module_testing/eth_module.py b/web3/utils/module_testing/eth_module.py index <HASH>..<HASH> 100644 --- a/web3/utils/module_testing/eth_module.py +++ b/web3/utils/module_testing/eth_module.py @@ -25,7 +25,8 @@ from web3.utils.datastructures import ( HexBytes, ) -UNKOWN_HASH = '0xdeadbeef0...
Add test cases for `eth_getLogs` for eth-tester
ethereum_web3.py
train
40916d7e2663b24f9595395da2daf23fb7361c67
diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/jenkins/model/Jenkins.java +++ b/core/src/main/java/jenkins/model/Jenkins.java @@ -5326,7 +5326,6 @@ public class Jenkins extends AbstractCIBase implements Dire...
JEP-<I> GA system read permission (#<I>)
jenkinsci_jenkins
train
6ab28a59846fa90c06987a8dc880f31afd533b4f
diff --git a/lib/express/route.js b/lib/express/route.js index <HASH>..<HASH> 100644 --- a/lib/express/route.js +++ b/lib/express/route.js @@ -68,6 +68,8 @@ Route.prototype.buildUid = function() { var pattern = '^(api|s2s|v[0-9]+(\.[0-9])*|:[a-zA-Z0-9-_]+)$'; if (!segment.match(pattern)) { ...
feature/version placeholder in url string
BohemiaInteractive_bi-service
train
fd85d692e5304a2c6e915058e7546c4a1a43a2ab
diff --git a/src/entities/index.js b/src/entities/index.js index <HASH>..<HASH> 100644 --- a/src/entities/index.js +++ b/src/entities/index.js @@ -49,15 +49,14 @@ export default class Entities { } static addTracer(options = {}) { - const tracer = DI.get('namespace').get('tracer'); const logger = DI.get(...
fix sequelize with cls
EvaEngine_EvaEngine.js
train
0b2d59dd096071ca1c158e4990d813bdad6ba818
diff --git a/src/test/java/org/gitlab4j/api/TestDuration.java b/src/test/java/org/gitlab4j/api/TestDuration.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/gitlab4j/api/TestDuration.java +++ b/src/test/java/org/gitlab4j/api/TestDuration.java @@ -10,10 +10,13 @@ public class TestDuration { @Test pub...
Added tests for w (weeks) in duration.
gmessner_gitlab4j-api
train
dfeb2a2bad47b8404af0fe91ae9f06032daade5c
diff --git a/lib/octocatalog-diff/catalog-util/bootstrap.rb b/lib/octocatalog-diff/catalog-util/bootstrap.rb index <HASH>..<HASH> 100644 --- a/lib/octocatalog-diff/catalog-util/bootstrap.rb +++ b/lib/octocatalog-diff/catalog-util/bootstrap.rb @@ -82,8 +82,8 @@ module OctocatalogDiff # Performs the actual boots...
Get rid of dir_opts, just use options
github_octocatalog-diff
train
2ec61427008e61b30c294e708a40da3c01218d4a
diff --git a/lib/twitter/client.rb b/lib/twitter/client.rb index <HASH>..<HASH> 100644 --- a/lib/twitter/client.rb +++ b/lib/twitter/client.rb @@ -101,8 +101,12 @@ module Twitter end def auth_header(method, path, params={}) - uri = URI(@endpoint + path) - SimpleOAuth::Header.new(method, uri, param...
Adding Bearer Token support - Added :bearer_token to the list of configuration parameters - The default value of the bearer_token is read from the environment variable - Requests send the "Bearer AAA..." type authentication header if a bearer token exists - Added tests to verify that bearer token implementation wo...
sferik_twitter
train
72174b697495591bef8b2c714a54aebf7bc3f521
diff --git a/src/ShoppingcartServiceProvider.php b/src/ShoppingcartServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/ShoppingcartServiceProvider.php +++ b/src/ShoppingcartServiceProvider.php @@ -14,6 +14,8 @@ class ShoppingcartServiceProvider extends ServiceProvider */ public function register() ...
[Fix] ServiceContainer: Bind class to app
Crinsane_LaravelShoppingcart
train
2fd8b099b86b27564751502b1f06140fc711b74d
diff --git a/lib/granite/action.rb b/lib/granite/action.rb index <HASH>..<HASH> 100644 --- a/lib/granite/action.rb +++ b/lib/granite/action.rb @@ -70,9 +70,7 @@ module Granite else def merge_errors(other_errors) other_errors.each do |error| - next if errors.added?(error.attribute, error.ty...
Simplify calls to `errors.import`
toptal_granite
train
634066ed84ab2a41511e49beced96182c7815c6d
diff --git a/pykube/rolling_updater.py b/pykube/rolling_updater.py index <HASH>..<HASH> 100644 --- a/pykube/rolling_updater.py +++ b/pykube/rolling_updater.py @@ -1,4 +1,3 @@ -import json import logging import math import time @@ -109,11 +108,7 @@ class RollingUpdater: return old_rc def cleanup(self,...
Updated RollingUpdater to latest API
kelproject_pykube
train
7563642841ad7de09a17d09860432252f2588d62
diff --git a/sip-servlets-examples/websocket-b2bua/src/main/java/org/mobicents/servlet/sip/example/WebSocketB2BUASipServlet.java b/sip-servlets-examples/websocket-b2bua/src/main/java/org/mobicents/servlet/sip/example/WebSocketB2BUASipServlet.java index <HASH>..<HASH> 100644 --- a/sip-servlets-examples/websocket-b2bua/s...
Update Issue <I> Extending lifetime of calls to 1h instead of default 3 minutes of the SIP Servlets spec
RestComm_sip-servlets
train
103fcfaf7bff204ebe82bc35859336fe86c0d567
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='ostruct', - version='2.2', + version='3.0', description='OpenStruct Data Structure', long_description='OpenStruct, the felixble data structure.'...
Bumped up version number to <I>
hamidnazari_python-ostruct
train
40813c55ce0658cd2036cc208da7b6219a31ec18
diff --git a/lib/voom/presenters/helpers/rails.rb b/lib/voom/presenters/helpers/rails.rb index <HASH>..<HASH> 100644 --- a/lib/voom/presenters/helpers/rails.rb +++ b/lib/voom/presenters/helpers/rails.rb @@ -19,7 +19,7 @@ if defined?(Rails) presenter = _expand_namespace_(presenter, namespace) p...
Made presenter_path methods return fully qualified paths by default. This is to enable fully qualified presenter redirects and embedding presenters as webcomponents.
rx_presenters
train
392f560e54ebbeecc1ed1f69824ee9afd1bc68c1
diff --git a/owslib/wfs.py b/owslib/wfs.py index <HASH>..<HASH> 100644 --- a/owslib/wfs.py +++ b/owslib/wfs.py @@ -124,23 +124,23 @@ class WebFeatureService(object): # check for service exceptions, rewrap, and return # We're going to assume that anything with a content-length > 32k - ...
change references to WMS to be WFS
geopython_OWSLib
train
c064bf0662ef8c0f465db2d4a8a05581aaa6c5d3
diff --git a/spec/zenflow/helpers/github_spec.rb b/spec/zenflow/helpers/github_spec.rb index <HASH>..<HASH> 100644 --- a/spec/zenflow/helpers/github_spec.rb +++ b/spec/zenflow/helpers/github_spec.rb @@ -332,4 +332,73 @@ describe Zenflow::Github do end end + describe '.config_keys' do + it 'returns the exp...
Tests for methods used by the Hubs methods.
zencoder_zenflow
train
efa4322da54b0424a68b5d6250411823fcee1952
diff --git a/torchvision/datasets/folder.py b/torchvision/datasets/folder.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/folder.py +++ b/torchvision/datasets/folder.py @@ -82,10 +82,10 @@ class DatasetFolder(VisionDataset): super(DatasetFolder, self).__init__(root) self.transform = transfor...
fix inconsistent behavior for ~ expression (#<I>) * fix inconsistent behavior for ~ expression * remove duplicated code
pytorch_vision
train
eda447bd71162832ae097e064590a68dcf7d8586
diff --git a/EntityService/LocationService.php b/EntityService/LocationService.php index <HASH>..<HASH> 100755 --- a/EntityService/LocationService.php +++ b/EntityService/LocationService.php @@ -60,7 +60,7 @@ class LocationService // Check if the URL is in CampaignChain as a Location. $location = $thi...
CE-<I> "Unrecognized field: URL" when posting Tweet with URL (cherry picked from commit <I>c4)
CampaignChain_core
train
4f5e820901929a468bc2cb8edf94877a3034e2fa
diff --git a/javacord-api/src/main/java/org/javacord/api/DiscordApi.java b/javacord-api/src/main/java/org/javacord/api/DiscordApi.java index <HASH>..<HASH> 100644 --- a/javacord-api/src/main/java/org/javacord/api/DiscordApi.java +++ b/javacord-api/src/main/java/org/javacord/api/DiscordApi.java @@ -26,6 +26,7 @@ import ...
Add methods to get a message by its link
Javacord_Javacord
train
6a8c18f88db8647a1ccdf293e54b081e20a8056e
diff --git a/Manager/InstallationManager.php b/Manager/InstallationManager.php index <HASH>..<HASH> 100644 --- a/Manager/InstallationManager.php +++ b/Manager/InstallationManager.php @@ -7,7 +7,7 @@ use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Claroline\MigrationBundle\Manager\Manager; use C...
Used tmp env switch to allow loading bundle fixtures
claroline_InstallationBundle
train
9876bed5cf04c446264c9bea07f09bf278ed2291
diff --git a/lib/sequelizer/yaml_config.rb b/lib/sequelizer/yaml_config.rb index <HASH>..<HASH> 100644 --- a/lib/sequelizer/yaml_config.rb +++ b/lib/sequelizer/yaml_config.rb @@ -28,7 +28,8 @@ module Sequelizer # or +nil+ if config/database.yml doesn't exist def options return {} unless config_file_pat...
Expand definition of single YAML configuration Assume presence of url, uri, or adapter means there is only one connection defined in the YAML file
outcomesinsights_sequelizer
train
5e9db040a86c190584744176312480f1facd9d43
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -114,6 +114,8 @@ are grouped as follows: +--------------+--------------------------------------------------------------+ | D209 | Put multi-line docstring closing quotes on separate line. | +-------------...
New D<I> check for surrounding whitespaces.
PyCQA_pydocstyle
train
f26bedd96fef89f5c4c64e86c433c19748344a3b
diff --git a/intranet/apps/users/views.py b/intranet/apps/users/views.py index <HASH>..<HASH> 100644 --- a/intranet/apps/users/views.py +++ b/intranet/apps/users/views.py @@ -59,14 +59,15 @@ def profile_view(request, user_id=None): logger.debug("Eighth sponsor {}".format(sponsor)) eighth_sponsor_sch...
Fix profile bug when no blocks in future
tjcsl_ion
train
f871e758004e8ddc9e8fc27a4b5538a9b49561a7
diff --git a/src/app/Models/Login.php b/src/app/Models/Login.php index <HASH>..<HASH> 100644 --- a/src/app/Models/Login.php +++ b/src/app/Models/Login.php @@ -13,7 +13,7 @@ class Login extends Model return $this->belongsTo('LaravelEnso\Core\app\Models\User'); } - public function setUserAgentAttribute...
fix bug, added missing argument to login mutator
laravel-enso_Core
train
9e07ac515ff99b5403dff48c970959207b50f4c2
diff --git a/classes/PodsMigrate.php b/classes/PodsMigrate.php index <HASH>..<HASH> 100644 --- a/classes/PodsMigrate.php +++ b/classes/PodsMigrate.php @@ -119,7 +119,7 @@ class PodsMigrate { * * @return array List of data items. */ - private function get_items ( ) { + private function get_items() { retu...
Update classes/PodsMigrate.php
pods-framework_pods
train
e78aac240faa430a7e064444b044d0d00179e878
diff --git a/beautify.js b/beautify.js index <HASH>..<HASH> 100644 --- a/beautify.js +++ b/beautify.js @@ -163,7 +163,8 @@ function js_beautify(js_source_text, options) { in_case: false, eat_next_space: false, indentation_baseline: -1, - indentation_level: (flags ? flag...
Simplify ternary operator handling
beautify-web_js-beautify
train
fb08a1c45557cdc5a1d3b87d1abc7e1c458e3cd6
diff --git a/api/server/middleware_auth.go b/api/server/middleware_auth.go index <HASH>..<HASH> 100644 --- a/api/server/middleware_auth.go +++ b/api/server/middleware_auth.go @@ -16,7 +16,7 @@ import ( "github.com/libopenstorage/openstorage/volume" volumedrivers "github.com/libopenstorage/openstorage/volume/drivers...
Use the new sched-ops package in openstorage
libopenstorage_openstorage
train
5491fa8a346fb0dff336cf5d0a2d8f48f9c171d7
diff --git a/pydle/client.py b/pydle/client.py index <HASH>..<HASH> 100644 --- a/pydle/client.py +++ b/pydle/client.py @@ -175,8 +175,8 @@ class BasicClient: } def _destroy_channel(self, channel): - # Copy list to prevent a runtime error when destroying the user. - for user in self.channel...
Fix broken _destroy_channel and KICK support.
Shizmob_pydle
train
dd477ac903eb6f658d6fb2984763c3f8a4516389
diff --git a/python-package/xgboost/sklearn.py b/python-package/xgboost/sklearn.py index <HASH>..<HASH> 100644 --- a/python-package/xgboost/sklearn.py +++ b/python-package/xgboost/sklearn.py @@ -328,6 +328,20 @@ class XGBModel(XGBModelBase): return evals_result + @property + def feature_importances_(...
Move feature_importances_ to base XGBModel for XGBRegressor access (#<I>)
dmlc_xgboost
train
647cd532354209e1fe9e417d10cf33150bdde57e
diff --git a/bin/createPhar.php b/bin/createPhar.php index <HASH>..<HASH> 100755 --- a/bin/createPhar.php +++ b/bin/createPhar.php @@ -1,4 +1,4 @@ -#!/usr/bin/php +#!/usr/bin/env php <?php // In order to be able to execute this script to create a Phar archive of Predis, // the Phar module must be loaded and the "pha...
Use 'env' in the shebang instead of looking for php in /usr/bin.
nrk_predis
train
3704d2d86b7853d56abd1abeee676282dbea32a9
diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index <HASH>..<HASH> 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -73,7 +73,8 @@ func startGUI(cfg config.GUIConfiguration, assetDir string, m *model.Model) erro // When generating the HTTPS certificate, use the system host name per // ...
Don't exit after creating HTTPS certs (fixes #<I>)
syncthing_syncthing
train
9c5bb93dde840d56f8e7717854c9726856fe0546
diff --git a/test/rets.test.js b/test/rets.test.js index <HASH>..<HASH> 100644 --- a/test/rets.test.js +++ b/test/rets.test.js @@ -5,7 +5,6 @@ module.exports = describe('RETS', function(){ var RETS = null; var instance = null; - var config = require('./servers/config.json')[0]; before('Load RETS',...
Removing unused config variable from test file (listing correctly now).
retsr_rets.js
train
63e41d115d5f1ae48280c735f46ea2bdc3c4db0a
diff --git a/controller/resource.go b/controller/resource.go index <HASH>..<HASH> 100644 --- a/controller/resource.go +++ b/controller/resource.go @@ -58,6 +58,16 @@ func (rr *ResourceRepo) Add(r *ct.Resource) error { return err } } + if len(r.Apps) == 0 { + // Ensure an event is created if there are no assoc...
controller: Fire resource event when no apps specified Previously resource event would only fire if one or more apps were associated with it.
flynn_flynn
train